Commit e126cf13ee2b88949409c1c93bcf27413e97b241

Authored by ths
1 parent a4bc3afc

Fix usb hid and mass-storage protocol revision, by Juergen Keil.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2558 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 2 additions and 2 deletions
hw/usb-hid.c
... ... @@ -46,7 +46,7 @@ typedef struct USBMouseState {
46 46 static const uint8_t qemu_mouse_dev_descriptor[] = {
47 47 0x12, /* u8 bLength; */
48 48 0x01, /* u8 bDescriptorType; Device */
49   - 0x10, 0x00, /* u16 bcdUSB; v1.0 */
  49 + 0x00, 0x01, /* u16 bcdUSB; v1.0 */
50 50  
51 51 0x00, /* u8 bDeviceClass; */
52 52 0x00, /* u8 bDeviceSubClass; */
... ...
hw/usb-msd.c
... ... @@ -66,7 +66,7 @@ struct usb_msd_csw {
66 66 static const uint8_t qemu_msd_dev_descriptor[] = {
67 67 0x12, /* u8 bLength; */
68 68 0x01, /* u8 bDescriptorType; Device */
69   - 0x10, 0x00, /* u16 bcdUSB; v1.0 */
  69 + 0x00, 0x01, /* u16 bcdUSB; v1.0 */
70 70  
71 71 0x00, /* u8 bDeviceClass; */
72 72 0x00, /* u8 bDeviceSubClass; */
... ...