diff options
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 06595ec27bb7..417d37aff8d7 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c | |||
@@ -54,6 +54,8 @@ static int xhci_pci_setup(struct usb_hcd *hcd) | |||
54 | struct pci_dev *pdev = to_pci_dev(hcd->self.controller); | 54 | struct pci_dev *pdev = to_pci_dev(hcd->self.controller); |
55 | int retval; | 55 | int retval; |
56 | 56 | ||
57 | hcd->self.sg_tablesize = TRBS_PER_SEGMENT - 1; | ||
58 | |||
57 | xhci->cap_regs = hcd->regs; | 59 | xhci->cap_regs = hcd->regs; |
58 | xhci->op_regs = hcd->regs + | 60 | xhci->op_regs = hcd->regs + |
59 | HC_LENGTH(xhci_readl(xhci, &xhci->cap_regs->hc_capbase)); | 61 | HC_LENGTH(xhci_readl(xhci, &xhci->cap_regs->hc_capbase)); |
@@ -137,6 +139,7 @@ static const struct hc_driver xhci_pci_hc_driver = { | |||
137 | .reset_bandwidth = xhci_reset_bandwidth, | 139 | .reset_bandwidth = xhci_reset_bandwidth, |
138 | .address_device = xhci_address_device, | 140 | .address_device = xhci_address_device, |
139 | .update_hub_device = xhci_update_hub_device, | 141 | .update_hub_device = xhci_update_hub_device, |
142 | .reset_device = xhci_reset_device, | ||
140 | 143 | ||
141 | /* | 144 | /* |
142 | * scheduling support | 145 | * scheduling support |