summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-06-12 21:40:06 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-06-12 21:40:06 +0000
commite85babcd73c874cc09f1aa54d487da493a66f6f3 (patch)
tree5f3f622655e0e5c59ebbca88c3b4a87dc6ed175b /sys/dev/pci
parent209a06d7400a1734b180d6d66c338a3c91bca3e3 (diff)
It turns out you need to ask for 16 byte block descriptors. We don't,
so eliminate code dealing with 16 byte block descriptors. No one else seems to use them anyway. Add define for appropriate permission bit in case we ever need it. Simplify and clean up scsi_do_mode_sense() code as a result. Strengthen check to ensure block descriptor data is a valid by checking if it is a multiple of 8 bytes rather than just > 8 bytes. Moves code to closer to what it was before scsi_do_mode_sense().
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions