diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-11-16 00:39:56 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-11-16 00:39:56 +0000 |
commit | 73d710374d679d60833bb30508cebd8c627408f5 (patch) | |
tree | 97d20b881e1cc3862b5ca44df62309c04de241a8 /sys/dev/isp/ispmbox.h | |
parent | 59460eb5d083061fece984f695a9d958fc9f2cbd (diff) | |
download | FreeBSD-src-73d710374d679d60833bb30508cebd8c627408f5.zip FreeBSD-src-73d710374d679d60833bb30508cebd8c627408f5.tar.gz |
Increase the timeout for some SAN commands.
Only complain about FC Reponse errors if they're nonzero.
Shorten some PortID printouts for local loop.
Add an internal isp_xcmd_t data structure which we'll use for some
CT-Passthru support as part of adding SMI-S.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index a4461c7..6ee4fa3 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -1347,4 +1347,30 @@ typedef struct { #define els_recv_dsd_a4732 inout.out._els_recv_dsd_a4732 #define els_recv_dsd_a6348 inout.out._els_recv_dsd_a6348 } els_t; + +/* + * A handy package structure for running FC-SCSI commands via RUN IOCB A64. + */ +typedef struct { + uint16_t handle; + uint16_t lun; + uint32_t portid; + uint32_t timeout; + union { + struct { + uint32_t data_length; + uint8_t do_read; + uint8_t pad[3]; + uint8_t cdb[16]; + void *data_ptr; + } beg; + struct { + uint32_t data_residual; + uint8_t status; + uint8_t pad; + uint16_t sense_length; + uint8_t sense_data[32]; + } end; + } fcd; +} isp_xcmd_t; #endif /* _ISPMBOX_H */ |