summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorpbrook2006-05-21 18:30:15 +0200
committerpbrook2006-05-21 18:30:15 +0200
commit0d92ed3022694aa6ec9172938e999871fa04f711 (patch)
tree21a55018bcee0a0bbb8031431ca45b1c87a433b5 /hw/pc.c
parentUse lookup table for PCI class descriptions. (diff)
downloadqemu-0d92ed3022694aa6ec9172938e999871fa04f711.tar.gz
qemu-0d92ed3022694aa6ec9172938e999871fa04f711.tar.xz
qemu-0d92ed3022694aa6ec9172938e999871fa04f711.zip
OHCI USB host emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1928 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 6175d871a6..f9a7e86371 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -40,7 +40,6 @@ static fdctrl_t *floppy_controller;
static RTCState *rtc_state;
static PITState *pit;
static IOAPICState *ioapic;
-static USBPort *usb_root_ports[2];
static void ioport80_write(void *opaque, uint32_t addr, uint32_t data)
{
@@ -833,8 +832,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device,
cmos_init(ram_size, boot_device, bs_table);
if (pci_enabled && usb_enabled) {
- usb_uhci_init(pci_bus, usb_root_ports, piix3_devfn + 2);
- usb_attach(usb_root_ports[0], vm_usb_hub);
+ usb_uhci_init(pci_bus, piix3_devfn + 2);
}
if (pci_enabled && acpi_enabled) {