diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-25 18:17:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-25 18:17:07 +0000 |
commit | 1763a6f66eedf6de6f6f955ebb11b27a4fa8eac8 (patch) | |
tree | 6e0ddc9034eb3f88184172be36e05a3b2541835b /target/linux | |
parent | 1a5076a7cc7a45f649b8e8ec30a1948117ae9765 (diff) | |
download | upstream-1763a6f66eedf6de6f6f955ebb11b27a4fa8eac8.tar.gz upstream-1763a6f66eedf6de6f6f955ebb11b27a4fa8eac8.tar.bz2 upstream-1763a6f66eedf6de6f6f955ebb11b27a4fa8eac8.zip |
[kernel] add patch from #4850 to make hdparm work on usb drivers (#4850)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16978 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic-2.4/patches/229-usb_storage_16_byte_cdb.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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; + } + |