summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ohci.h')
-rw-r--r--sys/dev/usb/controller/ohci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ohci.h b/sys/dev/usb/controller/ohci.h
index 84a6afd..47d3be3 100644
--- a/sys/dev/usb/controller/ohci.h
+++ b/sys/dev/usb/controller/ohci.h
@@ -39,7 +39,7 @@
#ifndef _OHCI_H_
#define _OHCI_H_
-#define OHCI_MAX_DEVICES USB_MAX_DEVICES
+#define OHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
/* PCI config registers */
#define PCI_CBMEM 0x10 /* configuration base memory */
OpenPOWER on IntegriCloud