1 #ifndef DEVICES_SCSIDISK_H
2 #define DEVICES_SCSIDISK_H
5 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
8 Desc: Definitions for scsi.device
13 # include <exec/types.h>
18 #define HD_WIDESCSI 8 /* Used as part of unit number when a wide SCSI
23 UWORD
*scsi_Data
; /* Points to data used in data phase of command */
24 ULONG scsi_Length
; /* Length of Data */
26 UBYTE
*scsi_Command
; /* SCSI command */
27 UWORD scsi_CmdLength
; /* length of SCSI command */
31 UBYTE
*scsi_SenseData
;
32 UWORD scsi_SenseLength
;
33 UWORD scsi_SenseActual
;
40 #define SCSIB_READ_WRITE 0
42 #define SCSIF_NOSENSE 0
43 #define SCSIF_AUTOSENSE 2
44 #define SCSIB_AUTOSENSE 1
46 #define SCSIF_OLDAUTOSENSE 6
47 #define SCSIB_OLDAUTOSENSE 2
49 /* SCSI io_Error values */
51 #define HFERR_SelfUnit 40
53 #define HFERR_Phase 42
54 #define HFERR_Parity 43
55 #define HFERR_SelTimeout 44
56 #define HFERR_BadStatus 45
58 /* SCSI OpenDevice() io_Error values */
60 #define HFERR_NoBoard 50
62 #endif /* DEVICES_SCSIDISK_H */