Created
February 13, 2011 22:45
-
-
Save matthiasr/825244 to your computer and use it in GitHub Desktop.
patch for the umass driver to know about the Western Digital HDD 1021 quirks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/dev/usbmisc/umass/umass.c b/sys/dev/usbmisc/umass/umass.c | |
index 9107228..64c89bb 100644 | |
--- a/sys/dev/usbmisc/umass/umass.c | |
+++ b/sys/dev/usbmisc/umass/umass.c | |
@@ -920,6 +920,11 @@ static struct umass_devdescr_t umass_devdescrs[] = { | |
.proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB, | |
.quirks = NO_INQUIRY_EVPD | |
}, | |
+ /* Western External HDD 1021 */ | |
+ { .vendor = 0x1058, .product = 0x1021, .release = WILDCARD_ID, | |
+ .proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB, | |
+ .quirks = IGNORE_RESIDUE | NO_TEST_UNIT_READY | |
+ }, | |
/* WinMaxGroup USB Flash Disk */ | |
{ .vendor = 0x0ed1, .product = 0x6660, .release = WILDCARD_ID, | |
.proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment