mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
72e0c127bd
commit
34d97308f6
6 changed files with 284 additions and 208 deletions
|
@ -6,7 +6,7 @@ config R2D
|
|||
select I82378 if TEST_DEVICES
|
||||
select IDE_MMIO
|
||||
select PFLASH_CFI02
|
||||
select USB_OHCI
|
||||
select USB_OHCI_PCI
|
||||
select PCI
|
||||
select SM501
|
||||
select SH4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue