diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-05-11 15:42:54 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-05-12 15:53:22 +0100 |
commit | 372672275e48a7f0fcd058476bd742bf950e4074 (patch) | |
tree | e4d781c7be57583d93aaac215c0fa5e01bd89d34 /src/config/config_usb.c | |
parent | a8e4187c455aa89f2de7376f959a24f6c7327e11 (diff) | |
download | ipxe-372672275e48a7f0fcd058476bd742bf950e4074.tar.gz |
[usb] Add basic support for USB keyboards
When USB network card drivers are used, the BIOS' legacy USB
capability is necessarily disabled since there is no way to share the
host controller between the BIOS and iPXE. This currently results in
USB keyboards becoming non-functional in USB-enabled builds of iPXE.
Fix by adding basic support for USB keyboards, enabled by default in
iPXE builds which include USB support.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_usb.c')
-rw-r--r-- | src/config/config_usb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config/config_usb.c b/src/config/config_usb.c index 9c9305d7..dc0e6e6a 100644 --- a/src/config/config_usb.c +++ b/src/config/config_usb.c @@ -43,3 +43,10 @@ REQUIRE_OBJECT ( ehci ); #ifdef USB_HCD_UHCI REQUIRE_OBJECT ( uhci ); #endif + +/* + * Drag in USB peripherals + */ +#ifdef USB_KEYBOARD +REQUIRE_OBJECT ( usbkbd ); +#endif |