Revision 079d0b7f
ID | 079d0b7f1eedcc634c371fe05b617fdc55c8b762 |
usb: Set USBEndpoint in usb_packet_setup().
With the separation of the device lookup (via usb_find_device) and
packet processing we can lookup device and endpoint before setting up
the usb packet. So we can initialize USBPacket->ep early and keep it
valid for the whole lifecycle of the USBPacket. Also the devaddr and
devep fields are not needed any more.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- usb-audio.c (diff)
- usb-bt.c (diff)
- usb-ccid.c (diff)
- usb-ehci.c (diff)
- usb-hid.c (diff)
- usb-hub.c (diff)
- usb-msd.c (diff)
- usb-musb.c (diff)
- usb-net.c (diff)
- usb-ohci.c (diff)
- usb-serial.c (diff)
- usb-uhci.c (diff)
- usb-wacom.c (diff)
- usb-xhci.c (diff)
- usb.c (diff)
- usb.h (diff)
- usb-bsd.c (diff)
- usb-linux.c (diff)
- usb-redir.c (diff)