Linux Kernel Architecture

(Jacob Rumans) #1
Mauerer runapp02.tex V2 - 09/04/2008 6:09pm Page 1145

Appendix B: Working with the Source Code


if USB_SUPPORT

config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
...
default PCI

config USB_ARCH_HAS_OHCI
boolean
# ARM:
default y if SA1111
default y if ARCH_OMAP
# PPC:
default y if STB03xxx
default y if PPC_MPC52xx
# MIPS:
default y if SOC_AU1X00
# more:
default PCI

config USB
tristate "Support for USB"
depends on USB_ARCH_HAS_HCD
---help---
Universal Serial Bus (USB) is a specification for a serial bus
subsystem which offers higher speeds and more features than the
traditional PC serial port. The bus supplies power to peripherals
...

source "drivers/usb/core/Kconfig"
source "drivers/usb/host/Kconfig"
...
source "drivers/usb/net/Kconfig"

comment "USB port drivers"
depends on USB

config USB_USS720
tristate "USS720 parport driver"
depends on USB && PARPORT
---help---
This driver is for USB parallel port adapters that use the Lucent
Technologies USS-720 chip. These cables are plugged into your USB
port and provide USB compatibility to peripherals designed with
parallel port interfaces.
...

source "drivers/usb/gadget/Kconfig"

endif # USB_SUPPORT

Figure B-2 illustrates how the defined tree structure is displayed on screen to enable users to select the
options they want.

Free download pdf