summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-05-10 00:14:34 +0200
committerMichael Brown2015-05-10 00:14:34 +0200
commit6dba29b18f5642a981ece54baef6d3433d26188e (patch)
treeea7d59351c309a164aeda35496281c7ef5b64d18 /src/config
parent[ehci] Allow UHCI/OHCI controllers to locate the EHCI companion controller (diff)
downloadipxe-6dba29b18f5642a981ece54baef6d3433d26188e.tar.gz
ipxe-6dba29b18f5642a981ece54baef6d3433d26188e.tar.xz
ipxe-6dba29b18f5642a981ece54baef6d3433d26188e.zip
[uhci] Add support for UHCI host controllers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_usb.c3
-rw-r--r--src/config/defaults/pcbios.h1
-rw-r--r--src/config/usb.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/config/config_usb.c b/src/config/config_usb.c
index a62d695e..9c9305d7 100644
--- a/src/config/config_usb.c
+++ b/src/config/config_usb.c
@@ -40,3 +40,6 @@ REQUIRE_OBJECT ( xhci );
#ifdef USB_HCD_EHCI
REQUIRE_OBJECT ( ehci );
#endif
+#ifdef USB_HCD_UHCI
+REQUIRE_OBJECT ( uhci );
+#endif
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index 2fbb0e93..dfd3e2f8 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -38,6 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define USB_HCD_XHCI /* xHCI USB host controller */
#define USB_HCD_EHCI /* EHCI USB host controller */
+#define USB_HCD_UHCI /* UHCI USB host controller */
#define REBOOT_CMD /* Reboot command */
#define CPUID_CMD /* x86 CPU feature detection command */
diff --git a/src/config/usb.h b/src/config/usb.h
index 372c0418..0181c50e 100644
--- a/src/config/usb.h
+++ b/src/config/usb.h
@@ -17,6 +17,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
//#undef USB_HCD_XHCI /* xHCI USB host controller */
//#undef USB_HCD_EHCI /* EHCI USB host controller */
+//#undef USB_HCD_UHCI /* UHCI USB host controller */
#include <config/named.h>
#include NAMED_CONFIG(usb.h)