You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config_usb.c 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  22. #include <config/usb.h>
  23. /** @file
  24. *
  25. * USB configuration options
  26. *
  27. */
  28. PROVIDE_REQUIRING_SYMBOL();
  29. /*
  30. * Drag in USB controllers
  31. */
  32. #ifdef USB_HCD_XHCI
  33. REQUIRE_OBJECT ( xhci );
  34. #endif
  35. #ifdef USB_HCD_EHCI
  36. REQUIRE_OBJECT ( ehci );
  37. #endif
  38. #ifdef USB_HCD_UHCI
  39. REQUIRE_OBJECT ( uhci );
  40. #endif
  41. #ifdef USB_HCD_USBIO
  42. REQUIRE_OBJECT ( usbio );
  43. #endif
  44. /*
  45. * Drag in USB peripherals
  46. */
  47. #ifdef USB_KEYBOARD
  48. REQUIRE_OBJECT ( usbkbd );
  49. #endif
  50. /*
  51. * Drag in USB external interfaces
  52. */
  53. #ifdef USB_EFI
  54. REQUIRE_OBJECT ( efi_usb );
  55. #endif