2015-02-02 15:37:00 +01:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
2015-02-26 18:49:38 +01:00
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
* 02110-1301, USA.
|
2015-03-02 12:54:40 +01:00
|
|
|
*
|
|
|
|
* You can also choose to distribute this program under the terms of
|
|
|
|
* the Unmodified Binary Distribution Licence (as given in the file
|
|
|
|
* COPYING.UBDL), provided that you have satisfied its requirements.
|
2015-02-02 15:37:00 +01:00
|
|
|
*/
|
|
|
|
|
2015-03-02 12:54:40 +01:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
2015-02-02 15:37:00 +01:00
|
|
|
|
2015-03-18 12:37:51 +01:00
|
|
|
#include <config/usb.h>
|
2015-02-02 15:37:00 +01:00
|
|
|
|
|
|
|
/** @file
|
|
|
|
*
|
|
|
|
* USB configuration options
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-04 19:48:19 +01:00
|
|
|
PROVIDE_REQUIRING_SYMBOL();
|
|
|
|
|
2015-02-02 15:37:00 +01:00
|
|
|
/*
|
|
|
|
* Drag in USB controllers
|
|
|
|
*/
|
2015-02-02 15:40:06 +01:00
|
|
|
#ifdef USB_HCD_XHCI
|
|
|
|
REQUIRE_OBJECT ( xhci );
|
|
|
|
#endif
|
2015-03-15 02:01:08 +01:00
|
|
|
#ifdef USB_HCD_EHCI
|
|
|
|
REQUIRE_OBJECT ( ehci );
|
|
|
|
#endif
|
2015-05-10 00:14:34 +02:00
|
|
|
#ifdef USB_HCD_UHCI
|
|
|
|
REQUIRE_OBJECT ( uhci );
|
|
|
|
#endif
|
2015-09-04 03:26:01 +02:00
|
|
|
#ifdef USB_HCD_USBIO
|
|
|
|
REQUIRE_OBJECT ( usbio );
|
|
|
|
#endif
|
2015-05-11 16:42:54 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Drag in USB peripherals
|
|
|
|
*/
|
|
|
|
#ifdef USB_KEYBOARD
|
|
|
|
REQUIRE_OBJECT ( usbkbd );
|
|
|
|
#endif
|
2015-09-10 18:22:03 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Drag in USB external interfaces
|
|
|
|
*/
|
|
|
|
#ifdef USB_EFI
|
|
|
|
REQUIRE_OBJECT ( efi_usb );
|
|
|
|
#endif
|