qemu-e2k/hw/usb/Kconfig
Thomas Huth 34d97308f6 hw/usb/hcd-ohci: Move PCI-related code into a separate file
Some machines (like the pxa2xx-based ARM machines) only have a sysbus
OHCI controller, but no PCI. With the new Kconfig-style build system,
it will soon be possible to create QEMU binaries that only contain
such PCI-less machines. However, the two OHCI controllers, for sysbus
and for PCI, are currently both located in one file, so the PCI code
is still required for linking here. Move the OHCI-PCI device code
into a separate file, so that it is possible to use the sysbus OHCI
device also without the PCI dependency.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190419075625.24251-3-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-05-02 08:42:17 +02:00

96 lines
1.2 KiB
Plaintext

config USB
bool
config USB_UHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_OHCI
bool
select USB
config USB_OHCI_PCI
bool
default y if PCI_DEVICES
depends on PCI
select USB_OHCI
config USB_EHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_EHCI_SYSBUS
bool
select USB
config USB_XHCI
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_XHCI_NEC
bool
default y if PCI_DEVICES
depends on PCI
select USB
config USB_MUSB
bool
select USB
config TUSB6010
bool
select USB_MUSB
config USB_TABLET_WACOM
bool
default y
depends on USB
config USB_STORAGE_BOT
bool
default y
depends on USB
select SCSI
config USB_STORAGE_UAS
bool
default y
depends on USB
select SCSI
config USB_AUDIO
bool
default y
depends on USB
config USB_SERIAL
bool
default y
depends on USB
config USB_NETWORK
bool
default y
depends on USB
config USB_BLUETOOTH
bool
default y
depends on USB
config USB_SMARTCARD
bool
default y
depends on USB
config USB_STORAGE_MTP
bool
default y
depends on USB