diff options
Diffstat (limited to 'src/drivers/usb')
| -rw-r--r-- | src/drivers/usb/xhci.c | 2 | ||||
| -rw-r--r-- | src/drivers/usb/xhci.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/usb/xhci.c b/src/drivers/usb/xhci.c index 5d067bd05..34290774a 100644 --- a/src/drivers/usb/xhci.c +++ b/src/drivers/usb/xhci.c @@ -3117,7 +3117,7 @@ static int xhci_probe ( struct pci_device *pci ) { goto err_reset; /* Allocate USB bus */ - xhci->bus = alloc_usb_bus ( &pci->dev, xhci->ports, + xhci->bus = alloc_usb_bus ( &pci->dev, xhci->ports, XHCI_MTU, &xhci_operations ); if ( ! xhci->bus ) { rc = -ENOMEM; diff --git a/src/drivers/usb/xhci.h b/src/drivers/usb/xhci.h index 269f50b82..303208071 100644 --- a/src/drivers/usb/xhci.h +++ b/src/drivers/usb/xhci.h @@ -24,6 +24,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); */ #define XHCI_MIN_ALIGN 64 +/** Maximum transfer size */ +#define XHCI_MTU 65536 + /** xHCI PCI BAR */ #define XHCI_BAR PCI_BASE_ADDRESS_0 |
