summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/uhci.h')
-rw-r--r--sys/dev/usb/controller/uhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/uhci.h b/sys/dev/usb/controller/uhci.h
index 9365a4c..c652dd8 100644
--- a/sys/dev/usb/controller/uhci.h
+++ b/sys/dev/usb/controller/uhci.h
@@ -39,7 +39,7 @@
#ifndef _UHCI_H_
#define _UHCI_H_
-#define UHCI_MAX_DEVICES USB_MAX_DEVICES
+#define UHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
/* PCI config registers */
#define PCI_USBREV 0x60 /* USB protocol revision */
OpenPOWER on IntegriCloud