summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-03-15 02:01:08 +0100
committerMichael Brown2015-03-18 13:35:17 +0100
commit8370f877450b4ca35a758222a8062c3f3062fd18 (patch)
treec957434fd2389ee733b596c3b7d207c7fa3b846e /src/config
parent[xhci] Do not release ownership back to BIOS when booting an OS (diff)
downloadipxe-8370f877450b4ca35a758222a8062c3f3062fd18.tar.gz
ipxe-8370f877450b4ca35a758222a8062c3f3062fd18.tar.xz
ipxe-8370f877450b4ca35a758222a8062c3f3062fd18.zip
[ehci] Add support for EHCI 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 0251b282..a62d695e 100644
--- a/src/config/config_usb.c
+++ b/src/config/config_usb.c
@@ -37,3 +37,6 @@ PROVIDE_REQUIRING_SYMBOL();
#ifdef USB_HCD_XHCI
REQUIRE_OBJECT ( xhci );
#endif
+#ifdef USB_HCD_EHCI
+REQUIRE_OBJECT ( ehci );
+#endif
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index 425e4a0d..2fbb0e93 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -37,6 +37,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
#define USB_HCD_XHCI /* xHCI USB host controller */
+#define USB_HCD_EHCI /* EHCI 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 ad8b3b72..372c0418 100644
--- a/src/config/usb.h
+++ b/src/config/usb.h
@@ -16,6 +16,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
//#undef USB_HCD_XHCI /* xHCI USB host controller */
+//#undef USB_HCD_EHCI /* EHCI USB host controller */
#include <config/named.h>
#include NAMED_CONFIG(usb.h)