Replaced Popscren with a custom pop-up list for selecting public screen. Now it conta...
[tangerine.git] / compiler / include / devices / scsidisk.h
blobea56a204c16b513cc7ad1ba89cdba3c024d20dbf
1 #ifndef DEVICES_SCSIDISK_H
2 #define DEVICES_SCSIDISK_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Definitions for SCSI exec-level device command
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #define HD_WIDESCSI 8
17 #define HD_SCSICMD 28
19 struct SCSICmd
21 UWORD *scsi_Data;
22 ULONG scsi_Length;
23 ULONG scsi_Actual;
24 UBYTE *scsi_Command;
25 UWORD scsi_CmdLength;
26 UWORD scsi_CmdActual;
27 UBYTE scsi_Flags;
28 UBYTE scsi_Status;
29 UBYTE *scsi_SenseData;
30 UWORD scsi_SenseLength;
31 UWORD scsi_SenseActual;
34 /* scsi_Flags */
36 #define SCSIF_WRITE 0
37 #define SCSIF_READ 1
38 #define SCSIB_READ_WRITE 0
40 #define SCSIF_NOSENSE 0
41 #define SCSIF_AUTOSENSE 2
43 #define SCSIF_OLDAUTOSENSE 6
45 #define SCSIB_AUTOSENSE 1
46 #define SCSIB_OLDAUTOSENSE 2
48 /* SCSI io_Error values */
50 #define HFERR_SelfUnit 40
51 #define HFERR_DMA 41
52 #define HFERR_Phase 42
53 #define HFERR_Parity 43
54 #define HFERR_SelTimeout 44
55 #define HFERR_BadStatus 45
57 /* OpenDevice io_Error values */
59 #define HFERR_NoBoard 50
61 #endif /* DEVICES_SCSIDISK_H */