diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2013-06-11 10:39:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 13:41:58 -0700 |
commit | 2b81c083c62909dc2af0d8d2e8687b99d259954f (patch) | |
tree | e6cd643e09b056163e9393996231d7346e85cc74 /drivers/usb/host/hwa-hc.c | |
parent | 5b92f46c967706d43717aa666c50c6ea0b12da43 (diff) | |
download | op-kernel-dev-2b81c083c62909dc2af0d8d2e8687b99d259954f.zip op-kernel-dev-2b81c083c62909dc2af0d8d2e8687b99d259954f.tar.gz |
usb: wire adapter: add scatter gather support
This patch adds support for scatter gather DMA to the wire adapter and
updates the HWA to advertise support for SG transfers. This allows the
block layer to submit transfer requests to the HWA HC without first
breaking them up into PAGE_SIZE requests.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/hwa-hc.c')
-rw-r--r-- | drivers/usb/host/hwa-hc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/hwa-hc.c b/drivers/usb/host/hwa-hc.c index c0df599..4af750e 100644 --- a/drivers/usb/host/hwa-hc.c +++ b/drivers/usb/host/hwa-hc.c @@ -774,6 +774,7 @@ static int hwahc_probe(struct usb_interface *usb_iface, goto error_alloc; } usb_hcd->wireless = 1; + usb_hcd->self.sg_tablesize = ~0; wusbhc = usb_hcd_to_wusbhc(usb_hcd); hwahc = container_of(wusbhc, struct hwahc, wusbhc); hwahc_init(hwahc); |