diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-16 00:43:20 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-16 00:43:20 +0000 |
commit | 71ee1d8cc18c86ec434e7d430b07c1d37bb21f17 (patch) | |
tree | 17ac6d9320e78d2ff8153db6d6646e1855831148 /usr.bin | |
parent | 17d31f8b198554658065a3a5aaaab6de5f1f73c0 (diff) |
Report SDEV_UMASS devices as non-'SCSI', i.e. 'ATAPI', devices when
asked via SCIOCIDENTIFY. More closely emulates the Linux
SCIOCIDENTIFY/SG_EMULATED_HOST combination used by cdparanoia (and
god knows what other ports). Nothing in the tree itself uses
SCIOCIDENTIFY.
Fixes cdparanoia's handling of USB CD drives that can't handle the
MODE SENSE command. cdparanoia sends 'ATAPI' devices only MODE SENSE
BIG (0x5a) commands. Finding actual SCSI devices that might have
trouble with MODE SENSE BIG (i.e. very old devices) behind USB is
deemed highly unlikely.
Problem reported, debugged and fix tested by bernd@.
ok marco@ millert@ miod@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions