iPXE
config_usb.c
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License as
4  * published by the Free Software Foundation; either version 2 of the
5  * License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful, but
8  * WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10  * General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software
14  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15  * 02110-1301, USA.
16  *
17  * You can also choose to distribute this program under the terms of
18  * the Unmodified Binary Distribution Licence (as given in the file
19  * COPYING.UBDL), provided that you have satisfied its requirements.
20  */
21 
22 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
23 
24 #include <config/usb.h>
25 #include <config/settings.h>
26 
27 /** @file
28  *
29  * USB configuration options
30  *
31  */
32 
34 
35 /*
36  * Drag in USB controllers
37  */
38 #ifdef USB_HCD_XHCI
39 REQUIRE_OBJECT ( xhci );
40 #endif
41 #ifdef USB_HCD_EHCI
42 REQUIRE_OBJECT ( ehci );
43 #endif
44 #ifdef USB_HCD_UHCI
45 REQUIRE_OBJECT ( uhci );
46 #endif
47 #ifdef USB_HCD_USBIO
48 REQUIRE_OBJECT ( usbio );
49 #endif
50 
51 /*
52  * Drag in USB peripherals
53  */
54 #ifdef USB_KEYBOARD
55 REQUIRE_OBJECT ( usbkbd );
56 #endif
57 #ifdef USB_BLOCK
58 REQUIRE_OBJECT ( usbblk );
59 #endif
60 
61 /*
62  * Drag in USB external interfaces
63  */
64 #ifdef USB_EFI
65 REQUIRE_OBJECT ( efi_usb );
66 #endif
67 
68 /*
69  * Drag in USB settings mechanism
70  */
71 #ifdef USB_SETTINGS
73 #endif
PROVIDE_REQUIRING_SYMBOL()
#define REQUIRE_OBJECT(object)
Require an object.
Definition: compiler.h:202
Configuration settings sources.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static struct settings usb_settings
USB device settings.
Definition: usb_settings.c:154
USB configuration.