iPXE
config_usb.c
Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or
00003  * modify it under the terms of the GNU General Public License as
00004  * published by the Free Software Foundation; either version 2 of the
00005  * License, or (at your option) any later version.
00006  *
00007  * This program is distributed in the hope that it will be useful, but
00008  * WITHOUT ANY WARRANTY; without even the implied warranty of
00009  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00010  * General Public License for more details.
00011  *
00012  * You should have received a copy of the GNU General Public License
00013  * along with this program; if not, write to the Free Software
00014  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00015  * 02110-1301, USA.
00016  *
00017  * You can also choose to distribute this program under the terms of
00018  * the Unmodified Binary Distribution Licence (as given in the file
00019  * COPYING.UBDL), provided that you have satisfied its requirements.
00020  */
00021 
00022 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00023 
00024 #include <config/usb.h>
00025 
00026 /** @file
00027  *
00028  * USB configuration options
00029  *
00030  */
00031 
00032 PROVIDE_REQUIRING_SYMBOL();
00033 
00034 /*
00035  * Drag in USB controllers
00036  */
00037 #ifdef USB_HCD_XHCI
00038 REQUIRE_OBJECT ( xhci );
00039 #endif
00040 #ifdef USB_HCD_EHCI
00041 REQUIRE_OBJECT ( ehci );
00042 #endif
00043 #ifdef USB_HCD_UHCI
00044 REQUIRE_OBJECT ( uhci );
00045 #endif
00046 #ifdef USB_HCD_USBIO
00047 REQUIRE_OBJECT ( usbio );
00048 #endif
00049 
00050 /*
00051  * Drag in USB peripherals
00052  */
00053 #ifdef USB_KEYBOARD
00054 REQUIRE_OBJECT ( usbkbd );
00055 #endif
00056 
00057 /*
00058  * Drag in USB external interfaces
00059  */
00060 #ifdef USB_EFI
00061 REQUIRE_OBJECT ( efi_usb );
00062 #endif