qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/26] usb/uhci: add ich9 usb uhci id's device


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 13/26] usb/uhci: add ich9 usb uhci id's device
Date: Wed, 16 Mar 2011 18:29:24 +0900

add uhci device which has ich9 device id.

Signed-off-by: Isaku Yamahata <address@hidden>
---
 hw/pci_ids.h  |    2 ++
 hw/usb-uhci.c |    8 ++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index ea3418c..9daea23 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -108,3 +108,5 @@
 #define PCI_DEVICE_ID_INTEL_82371AB      0x7111
 #define PCI_DEVICE_ID_INTEL_82371AB_2    0x7112
 #define PCI_DEVICE_ID_INTEL_82371AB_3    0x7113
+
+#define PCI_DEVICE_ID_INTEL_ICH9_UCHI1   0x2934
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 2fb2a85..247f1bf 100644
--- a/hw/usb-uhci.c
+++ b/hw/usb-uhci.c
@@ -1193,6 +1193,14 @@ static UHCIDeviceInfo uhci_info[] = {
         .device_id        = PCI_DEVICE_ID_INTEL_82371AB_2,
         .revision_id      = 0x01,
     },{
+        .pci.qdev.name    = "ich9-usb-uhci1",
+        .pci.qdev.size    = sizeof(UHCIState),
+        .pci.qdev.vmsd    = &vmstate_uhci,
+        .pci.init         = usb_uhci_common_initfn,
+        .vendor_id        = PCI_VENDOR_ID_INTEL,
+        .device_id        = PCI_DEVICE_ID_INTEL_ICH9_UCHI1,
+        .revision_id      = 0x03,
+    },{
         .pci.qdev.name    = "vt82c686b-usb-uhci",
         .pci.qdev.size    = sizeof(UHCIState),
         .pci.qdev.vmsd    = &vmstate_uhci,
-- 
1.7.1.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]