usb: add USBEndpoint
commitd8e17efdecaaa1a2d5c8f422fc44ae229e7f4fb4
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Aug 2011 10:49:46 +0000 (29 12:49 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Jan 2012 08:44:50 +0000 (17 09:44 +0100)
tree367a6b5453fc02d0b9b2b33d1a6da607fe1d83a4
parent62c6ae04cf4334ef2ab5ef04581394850f4ea714
usb: add USBEndpoint

Start maintaining endpoint state at USBDevice level.  Add USBEndpoint
struct and some helper functions to deal with it.  For now it contains
the endpoint type only.  Moved over some bits from usb-linux.c

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-bus.c
hw/usb.c
hw/usb.h
usb-linux.c