diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-07-29 02:40:47 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-07-29 02:40:47 +0000 |
commit | ad1b802e5366534f81aff919556dd650f2d7b064 (patch) | |
tree | 16ec93049f30612b85d48caa5f75dd601406f2be /sys/scsi/ch.c | |
parent | 35ed541750254d73c3c88cfdf6c1f9b0c6653f49 (diff) |
The version field of scsi_inquiry_data is not a simple numeric value
that specifies the version of SCSI being supported. Even the ANSI part
that we use is complex. 4 means 2, 5 means 3 and 6 means 4. Translate
and use the value correctly. Fixes SCSI5 and SCSI6 in dmesg. And
properly protects SCSI2 devices from getting SCSI3 commands.
"seems like an elegant solution to me" millert@ ok dlg@ marco@
Diffstat (limited to 'sys/scsi/ch.c')
0 files changed, 0 insertions, 0 deletions