qemu-irix/hw/usb
Stefan Hajnoczi 2747a3eee3 net: clean up usbnet_receive()
The USB network interface has two code paths depending on whether or not
RNDIS mode is enabled.  Refactor usbnet_receive() so that there is a
common path throughout the function instead of duplicating everything
across if (is_rndis(s)) ... else ... code paths.

Clean up coding style and 80 character line wrap along the way.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
(cherry picked from commit f237ddbb89)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2012-10-11 21:44:18 -05:00
..
Makefile.objs usb: add usb attached scsi emulation 2012-07-12 15:00:39 +02:00
bus.c usb: restore USBDevice->attached on vmload 2012-06-20 14:46:02 +02:00
core.c usb-core: Allow the first packet of a pipelined ep to complete immediately 2012-10-11 21:44:13 -05:00
desc.c
desc.h
dev-audio.c usb-audio: fix usb version 2012-10-11 21:44:15 -05:00
dev-bluetooth.c
dev-hid.c
dev-hub.c
dev-network.c net: clean up usbnet_receive() 2012-10-11 21:44:18 -05:00
dev-serial.c Better name usb braille device 2012-10-11 21:44:15 -05:00
dev-smartcard-reader.c
dev-storage.c usb-storage: fix SYNCHRONIZE_CACHE 2012-08-07 10:49:06 +02:00
dev-uas.c uas: move transfer kickoff 2012-08-31 15:47:57 +02:00
dev-wacom.c
hcd-ehci.c ehci: Walk async schedule before and after migration 2012-10-11 21:44:17 -05:00
hcd-musb.c usb: unique packet ids 2012-08-31 11:57:23 +02:00
hcd-ohci.c usb: unique packet ids 2012-08-31 11:57:23 +02:00
hcd-uhci.c uhci: Don't queue up packets after one with the SPD flag set 2012-10-11 21:44:17 -05:00
hcd-xhci.c xhci: allow bytewise capability register reads 2012-10-11 21:44:15 -05:00
host-bsd.c
host-linux.c usb-host: allow emulated (non-async) control requests without USBPacket 2012-10-11 21:44:15 -05:00
host-stub.c
libhw.c usb: Convert usb_packet_{map, unmap} to universal DMA helpers 2012-06-27 16:33:25 -05:00
redirect.c usb-redir: Revert usb-redir part of commit 93bfef4c 2012-10-11 21:44:17 -05:00