diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-05-25 20:52:42 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-05-25 20:52:42 +0000 |
commit | 8864d54939803f5c472b21b73056f2f8de3d31c2 (patch) | |
tree | f48986aba38da3c117de4a5896d88caaf539aad5 /sys/dev/midi.c | |
parent | 5c433857e84069e8f66922a2975b92e208971563 (diff) |
Introduce safer, more general mode sense capability. Transparently use
both 10 byte and 6 byte MODE SENSE commands and just return error
checked values.
Convert sd_scsi.c to use new mechanism for non-optical drives. USB
umass devices will now display actual mode sense info if it is
available via a 10 byte MODE SENSE. Which may mean 0 heads, etc. is
shown until cosmetics are finalized.
ok marco@ 'that is pretty cool' deraadt@
Diffstat (limited to 'sys/dev/midi.c')
0 files changed, 0 insertions, 0 deletions