summaryrefslogtreecommitdiffstats
path: root/hw/realview.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-03-13 19:55:02 +0100
committerAnthony Liguori2012-03-13 19:55:02 +0100
commit684e1e047950938be259e7d02033f44c427e6ba5 (patch)
tree67ff0b0f138e9d70bf3f44d1ef47c15dc716fc41 /hw/realview.c
parentqom: Add QOM support to user emulators (diff)
parentEndian fix an assertion in usb-msd (diff)
downloadqemu-684e1e047950938be259e7d02033f44c427e6ba5.tar.gz
qemu-684e1e047950938be259e7d02033f44c427e6ba5.tar.xz
qemu-684e1e047950938be259e7d02033f44c427e6ba5.zip
Merge remote-tracking branch 'kraxel/usb.44' into staging
* kraxel/usb.44: Endian fix an assertion in usb-msd uhci: alloc can't fail, drop check. uhci: new uhci_handle_td return code for tds still in flight uhci: renumber uhci_handle_td return codes uhci: use enum for uhci_handle_td return codes uhci: tracing support uhci: cancel on schedule stop. uhci: fix uhci_async_cancel_all uhci: pass addr to uhci_async_alloc usb: improve packet state sanity checks usb-ohci: DMA writeback bug fixes usb-ehci: drop unused isoch_pause variable usb: zap hw/ush-{ohic,uhci}.h + init wrappers usb: the big rename
Diffstat (limited to 'hw/realview.c')
-rw-r--r--hw/realview.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/realview.c b/hw/realview.c
index ae1bbcdac3..50ea67cb26 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -12,7 +12,6 @@
#include "primecell.h"
#include "devices.h"
#include "pci.h"
-#include "usb-ohci.h"
#include "net.h"
#include "sysemu.h"
#include "boards.h"
@@ -305,7 +304,7 @@ static void realview_init(ram_addr_t ram_size,
sysbus_connect_irq(busdev, 3, pic[51]);
pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci");
if (usb_enabled) {
- usb_ohci_init_pci(pci_bus, -1);
+ pci_create_simple(pci_bus, -1, "pci-ohci");
}
n = drive_get_max_bus(IF_SCSI);
while (n >= 0) {