summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2007-01-16 00:43:19 +0000
committerkrw <krw@openbsd.org>2007-01-16 00:43:19 +0000
commitb7f9cc29ecf48cdc78d7ac3c2131db2b24efeaf9 (patch)
tree15600538a2cdac49b0cdd7af117ff6fed1c5f3d8 /lib/libc
parentansi/deregister (diff)
downloadwireguard-openbsd-b7f9cc29ecf48cdc78d7ac3c2131db2b24efeaf9.tar.xz
wireguard-openbsd-b7f9cc29ecf48cdc78d7ac3c2131db2b24efeaf9.zip
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions