OSDN Git Service

usb: add USBEndpoint->{nr,pid}
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Jan 2012 12:24:22 +0000 (13:24 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 10:31:57 +0000 (11:31 +0100)
commit63095ab54c1ce554b1fc825fc678394ccb129e5b
treea73d896821800ac2a751466b065a4df2050ad39c
parentf53c398aa603cea135ee58fd15249aeff7b9c7ea
usb: add USBEndpoint->{nr,pid}

Add a "nr" and "pid" fields to USBEndpoint so you can easily figure the
endpoint number and direction of any given endpoint.

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