Don't attempt to set the read or write caches on usb disks. It
authorkrw <krw@openbsd.org>
Tue, 3 Aug 2010 19:37:17 +0000 (19:37 +0000)
committerkrw <krw@openbsd.org>
Tue, 3 Aug 2010 19:37:17 +0000 (19:37 +0000)
commitcece5972e9630ff2dbf6fe33c5edd6c5a05c0e53
tree31e6b0026b0cbdab3a99ea4fcf1f7c3df4570687
parentdaf2411017fac3832089636bcea5582a27f7614d
Don't attempt to set the read or write caches on usb disks. It
breaks at least one previously working device, as discovered by
naddy@. dlg@ confirmed other kernels also avoid attempting this
operation on usb disks.

ok dlg@ deraadt@
sys/scsi/sd.c