summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-11-06 18:29:40 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 20:55:19 +0100
commit40f8db8f8f5af2cafeb976ae15e11aca641a931d (patch)
treeb2da27baeab34919264b60f7679cfef62daa933d /drivers/usb/host/ehci-hcd.c
parentUSB: serial: sierra driver memory reduction (diff)
downloadlinux-40f8db8f8f5af2cafeb976ae15e11aca641a931d.tar.xz
linux-40f8db8f8f5af2cafeb976ae15e11aca641a931d.zip
USB: EHCI: add native scatter-gather support
This patch (as1300) adds native scatter-gather support to ehci-hcd. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 2a3265087ef3..5859522d6edd 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -605,6 +605,8 @@ static int ehci_init(struct usb_hcd *hcd)
}
ehci->command = temp;
+ /* Accept arbitrarily long scatter-gather lists */
+ hcd->self.sg_tablesize = ~0;
return 0;
}