mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
usb: zap hw/ush-{ohic,uhci}.h + init wrappers
Remove the uhci and ohci init wrappers, which all wrapped a pci_create_simple() one-liner. Switch callsites to call pci_create_simple directly. Remove the header files where the wrappers where declared. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f1ae32a1ec
commit
afb9a60ecb
13 changed files with 11 additions and 60 deletions
|
|
@ -28,8 +28,6 @@
|
|||
#include "pc.h"
|
||||
#include "apic.h"
|
||||
#include "pci.h"
|
||||
#include "usb-uhci.h"
|
||||
#include "usb-ohci.h"
|
||||
#include "net.h"
|
||||
#include "boards.h"
|
||||
#include "ide.h"
|
||||
|
|
@ -284,7 +282,7 @@ static void pc_init1(MemoryRegion *system_memory,
|
|||
floppy, idebus[0], idebus[1], rtc_state);
|
||||
|
||||
if (pci_enabled && usb_enabled) {
|
||||
usb_uhci_piix3_init(pci_bus, piix3_devfn + 2);
|
||||
pci_create_simple(pci_bus, piix3_devfn + 2, "piix3-usb-uhci");
|
||||
}
|
||||
|
||||
if (pci_enabled && acpi_enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue