[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] USB EHCI development nearing completion
From: |
Mark B |
Subject: |
RE: [Qemu-devel] USB EHCI development nearing completion |
Date: |
Thu, 4 Jan 2007 20:24:01 -0000 |
Apologies for the missed semi-colon - I edited the vendor id after the fact.
Looks like I chopped the call to init as well. You'll need this:
--- qemu-0.8.2/hw/pc.c 2006-07-22 17:23:34.000000000 +0100
+++ qemu-dev/hw/pc.c 2007-12-04 20:17:16.000000000 +0000
@@ -842,6 +842,8 @@
usb_uhci_init(pci_bus, piix3_devfn + 2);
}
+ usb_ehci_init(pci_bus, piix3_devfn + 4);
+
if (pci_enabled && acpi_enabled) {
piix4_pm_init(pci_bus, piix3_devfn + 3);
}
After that it should just be a question of adding devices with -usbdevice or
whatever. Since ehci is initialized after uhci, its ports are top of the
free list and get allocated first. Ehci *should* hand-off low or full speed
devices to a companion controller but that's TBD for now.
Mark
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Christian MICHON
Sent: 04 January 2007 09:53
To: address@hidden
Subject: Re: [Qemu-devel] USB EHCI development nearing completion
I tested it on win32 host.
Apparently a typo mistake (see updated patch)
how to use it ?
diff -Nur ehci.patch ehci-xian.patch
--- ehci.patch Thu Jan 4 09:50:17 2007
+++ ehci-xian.patch Thu Jan 4 10:40:26 2007
@@ -1722,7 +1722,7 @@
+ printf ("buffer is %p (+%d)\n", s->buffer, (uint8_t*)s->buffer -
(uint8_t*)s);
+
+ pci_conf = s->dev.config;
-+ pci_conf[0x00] = 0x86
++ pci_conf[0x00] = 0x86;
+ pci_conf[0x01] = 0x80; // Intel VID
+ pci_conf[0x02] = 0x55;
+ pci_conf[0x03] = 0x55; // Made up product ID
On 1/4/07, Mark B <address@hidden> wrote:
>
> Paul,
>
> I don't see anything to do with EHCI in Chromium. I was just referring to
> the 3D patch as an example - maybe this is causing confusion.
>
> Did anyone else get a chance to look at the EHCI emulation patch?
>
> Thanks,
>
> Mark
>
--
Christian
_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel