diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-05 21:27:08 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-05 21:27:08 +0000 |
commit | 9963da1d81006615c071513935289f75abd1f5e7 (patch) | |
tree | 1c3734cc7beb8cba191a504d78d35e6d45d4ba49 /sys/dev/pci/pcidevs | |
parent | 9cd6fb862e725e92124396941780f9a74cee2c1d (diff) |
Fix scsi_mode_select() and scsi_mode_select_big() to send just the
required number of bytes, rather than a full scsi_mode_sense_buf. Some
devices (e.g. my HP SureStore DAT/24) decline to accept such oversized
transfers. Instead, force callers to fill in the data_length field in
the header and use that information to set the size of the transfer.
Diffstat (limited to 'sys/dev/pci/pcidevs')
0 files changed, 0 insertions, 0 deletions