diff options
author | njl <njl@FreeBSD.org> | 2003-07-28 06:15:59 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-07-28 06:15:59 +0000 |
commit | 1cd634adc1d1ccd8b2986519f72fcbe975a07416 (patch) | |
tree | aef0e23332a02e65463a1a419cc6fd6e2df931de /sys/cam/cam_ccb.h | |
parent | 79bbf9b70237e33220855aa14dc66e06eb75ee37 (diff) | |
download | FreeBSD-src-1cd634adc1d1ccd8b2986519f72fcbe975a07416.zip FreeBSD-src-1cd634adc1d1ccd8b2986519f72fcbe975a07416.tar.gz |
Add a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes to
receive 6 byte commands. Add a check for this flag to da(4) and cd(4) so
that they honor it. This is a quick workaround for many devices (especially
USB) that require da(4) quirks to operate. The more complete approach is
to finish the new transport code which will be aware of the SCSI version a
transport implements.
MFC after: 1 day
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r-- | sys/cam/cam_ccb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 62adfe6..025493f 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -513,7 +513,8 @@ typedef enum { PIM_SCANHILO = 0x80, /* Bus scans from high ID to low ID */ PIM_NOREMOVE = 0x40, /* Removeable devices not included in scan */ PIM_NOINITIATOR = 0x20, /* Initiator role not supported. */ - PIM_NOBUSRESET = 0x10 /* User has disabled initial BUS RESET */ + PIM_NOBUSRESET = 0x10, /* User has disabled initial BUS RESET */ + PIM_NO_6_BYTE = 0x08 /* Do not send 6-byte commands */ } pi_miscflag; #ifdef CAM_NEW_TRAN_CODE |