summary refs log tree commit diff stats
path: root/hw/usb-hub.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:09:31 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:09:31 -0500
commit2ff6458116546ced7ce00cc39423ee30b1477e67 (patch)
treed15aa8e6a07862dbea9ad9d6886ad29696fbf9b2 /hw/usb-hub.c
parent0ffcb2ca8d7508f0e60035a17f3a8e055a7a1b89 (diff)
parent39fba3ada9a9e36a29a40e1acddec0923839c39b (diff)
downloadfocaccia-qemu-2ff6458116546ced7ce00cc39423ee30b1477e67.tar.gz
focaccia-qemu-2ff6458116546ced7ce00cc39423ee30b1477e67.zip
Merge remote-tracking branch 'kraxel/usb.29' into staging
Diffstat (limited to 'hw/usb-hub.c')
-rw-r--r--hw/usb-hub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index 09c65160c2..3eb0f1aa0a 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -127,8 +127,8 @@ static const USBDescDevice desc_device_hub = {
 
 static const USBDesc desc_hub = {
     .id = {
-        .idVendor          = 0,
-        .idProduct         = 0,
+        .idVendor          = 0x0409,
+        .idProduct         = 0x55aa,
         .bcdDevice         = 0x0101,
         .iManufacturer     = STR_MANUFACTURER,
         .iProduct          = STR_PRODUCT,
@@ -163,6 +163,7 @@ static void usb_hub_attach(USBPort *port1)
     } else {
         port->wPortStatus &= ~PORT_STAT_LOW_SPEED;
     }
+    usb_wakeup(&s->dev);
 }
 
 static void usb_hub_detach(USBPort *port1)