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
This commit is contained in:
ths 2007-03-31 18:23:26 +00:00
parent a4bc3afc09
commit e126cf13ee
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ typedef struct USBMouseState {
static const uint8_t qemu_mouse_dev_descriptor[] = { static const uint8_t qemu_mouse_dev_descriptor[] = {
0x12, /* u8 bLength; */ 0x12, /* u8 bLength; */
0x01, /* u8 bDescriptorType; Device */ 0x01, /* u8 bDescriptorType; Device */
0x10, 0x00, /* u16 bcdUSB; v1.0 */ 0x00, 0x01, /* u16 bcdUSB; v1.0 */
0x00, /* u8 bDeviceClass; */ 0x00, /* u8 bDeviceClass; */
0x00, /* u8 bDeviceSubClass; */ 0x00, /* u8 bDeviceSubClass; */

View File

@ -66,7 +66,7 @@ struct usb_msd_csw {
static const uint8_t qemu_msd_dev_descriptor[] = { static const uint8_t qemu_msd_dev_descriptor[] = {
0x12, /* u8 bLength; */ 0x12, /* u8 bLength; */
0x01, /* u8 bDescriptorType; Device */ 0x01, /* u8 bDescriptorType; Device */
0x10, 0x00, /* u16 bcdUSB; v1.0 */ 0x00, 0x01, /* u16 bcdUSB; v1.0 */
0x00, /* u8 bDeviceClass; */ 0x00, /* u8 bDeviceClass; */
0x00, /* u8 bDeviceSubClass; */ 0x00, /* u8 bDeviceSubClass; */