]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/dev-storage.c
usb: class specific interface requests
authorMax Reitz <max@tyndur.org>
Sun, 14 Mar 2010 11:19:03 +0000 (12:19 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 31 Mar 2010 16:16:52 +0000 (11:16 -0500)
commitf3571b1a5b465ae4fb1f168fc1480a3cff780d83
treeb10e7fa0c8e173cf5553d22ce64f3febe309dc3c
parent1c47cb16517914144d5b29ac1a67f6d720e7e52e
usb: class specific interface requests

Mass Storage Reset and Get Max LUN are class specific requests, but
they were not marked as such in hw/usb-msd.c, moved therefore
ClassInterfaceRequest and ClassInterfaceOutRequest from hw/usb-net.c
to hw/usb.h.
Furthermore there was a problem in hw/usb-ohci.c when using DEBUG
concerning systems where size_t is a 32 bit integer (printf resulted
in a segmentation fault).

Signed-off-by: Max Reitz <max@tyndur.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/usb-msd.c
hw/usb-net.c
hw/usb-ohci.c
hw/usb.h