]> git.hungrycats.org Git - linux/commit
[PATCH] Add BLIST_INQUIRY_36 to all USB blacklist entries
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 10 Sep 2004 09:01:18 +0000 (05:01 -0400)
committerChristoph Hellwig <hch@sgi.com>
Fri, 10 Sep 2004 09:01:18 +0000 (05:01 -0400)
commit29baccfb05d1d1642040a5e4803263c84f2f2752
tree7c1769582913c83186e0501c1422c056d117501d
parent47702565ab6db518e6ebf59ea542f771970a7b1a
[PATCH] Add BLIST_INQUIRY_36 to all USB blacklist entries

This patch adds the BLIST_INQUIRY_36 flag to all the SCSI blacklist
entries for USB devices.  While it may not be strictly necessary for all
of them, it doesn't hurt: Since the usb-storage driver doesn't use any of
the INQUIRY data after the first 36 bytes, there's no reason to try
reading any more of it.  And some devices crash when we try to read more,
even though they advertise that more bytes are available.  The usb-storage
driver does try to set the flag automatically, but the blacklist entries
override that setting.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_devinfo.c