]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Fix usb hid and mass-storage protocol revision, by Juergen Keil.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 31 Mar 2007 18:23:26 +0000 (18:23 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 31 Mar 2007 18:23:26 +0000 (18:23 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2558 c046a42c-6fe2-441c-8c8c-71466251a162

hw/usb-hid.c
hw/usb-msd.c

index 1c2f4d23142f3cdc79137eb8d5adc828812214e3..720c4d280a88f9513dbe6f708e3248b0ba1bf772 100644 (file)
@@ -46,7 +46,7 @@ typedef struct USBMouseState {
 static const uint8_t qemu_mouse_dev_descriptor[] = {
        0x12,       /*  u8 bLength; */
        0x01,       /*  u8 bDescriptorType; Device */
-       0x10, 0x00, /*  u16 bcdUSB; v1.0 */
+       0x00, 0x01, /*  u16 bcdUSB; v1.0 */
 
        0x00,       /*  u8  bDeviceClass; */
        0x00,       /*  u8  bDeviceSubClass; */
index 4530a1ceaaf8e236ac03d44a9bc350a6fa57309a..251bd64b20b69077588a89ed301ad564159c0bb2 100644 (file)
@@ -66,7 +66,7 @@ struct usb_msd_csw {
 static const uint8_t qemu_msd_dev_descriptor[] = {
        0x12,       /*  u8 bLength; */
        0x01,       /*  u8 bDescriptorType; Device */
-       0x10, 0x00, /*  u16 bcdUSB; v1.0 */
+       0x00, 0x01, /*  u16 bcdUSB; v1.0 */
 
        0x00,       /*  u8  bDeviceClass; */
        0x00,       /*  u8  bDeviceSubClass; */