summaryrefslogtreecommitdiffstats
path: root/src/drivers/usb/xhci.c
diff options
context:
space:
mode:
authorMichael Brown2015-03-16 06:39:14 +0100
committerMichael Brown2015-03-16 16:40:53 +0100
commit7b6765ff1b13f088f2ac41556b8639a35bd6b893 (patch)
tree0b9fda41653e73a378aeb5fb99d473672722da34 /src/drivers/usb/xhci.c
parent[libc] Add ffs(), ffsl(), and ffsll() (diff)
downloadipxe-7b6765ff1b13f088f2ac41556b8639a35bd6b893.tar.gz
ipxe-7b6765ff1b13f088f2ac41556b8639a35bd6b893.tar.xz
ipxe-7b6765ff1b13f088f2ac41556b8639a35bd6b893.zip
[usb] Add the concept of a USB bus maximum transfer size
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb/xhci.c')
-rw-r--r--src/drivers/usb/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/usb/xhci.c b/src/drivers/usb/xhci.c
index 5d067bd0..34290774 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;