usb: add usb_handle_packet
commit53aa8c0e2af473050fa765533a8d69f3450788ab
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 12 May 2011 11:20:39 +0000 (12 13:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:03 +0000 (26 11:55 +0200)
tree74cdb5f5490f5c05cc4ceb1dd5caf617e165197f
parentebd669a19f00d0ff8370e1edfb6232f50e42110d
usb: add usb_handle_packet

Add a usb_handle_packet function, put it into use everywhere.
Right now it just calls dev->info->handle_packet(), that will
change in future patches though.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hub.c
hw/usb-musb.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/usb.c
hw/usb.h