From: Florian Fainelli Date: Sat, 25 Jul 2009 18:18:10 +0000 (+0000) Subject: merge r16978 to 8.98 X-Git-Tag: 8.09.2~80 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1ee9b8ee33f05e284493c70b8384e7e61b4cca1a;p=openwrt%2Fsvn-archive%2Fopenwrt.git merge r16978 to 8.98 SVN-Revision: 16979 --- diff --git a/target/linux/generic-2.4/patches/229-usb_storage_16_byte_cdb.patch b/target/linux/generic-2.4/patches/229-usb_storage_16_byte_cdb.patch new file mode 100644 index 0000000000..d04e10291a --- /dev/null +++ b/target/linux/generic-2.4/patches/229-usb_storage_16_byte_cdb.patch @@ -0,0 +1,14 @@ +--- a/drivers/usb/storage/scsiglue.c.old 2009-03-30 09:08:02.000000000 +0200 ++++ b/drivers/usb/storage/scsiglue.c 2009-03-30 09:02:53.000000000 +0200 +@@ -95,6 +95,11 @@ + if (us->host) { + us->host->hostdata[0] = (unsigned long)us; + us->host_no = us->host->host_no; ++ ++ /* allow 16-byte CDBs as we need it for devices > 2TB ++ and ATA command pass-through */ ++ us->host->max_cmd_len = 16; ++ + return 1; + } +