linux-xiaomi-chiron/include/linux/usb
Steve Glendinning ec47562382 smsc95xx: fix transmission where ZLP is expected
Usbnet framework assumes USB hardware doesn't handle zero length
packets, but SMSC LAN95xx requires these to be sent for correct
operation.

This patch fixes an easily reproducible tx lockup when sending a frame
that results in exactly 512 bytes in a USB transmission (e.g. a UDP
frame with 458 data bytes, due to IP headers and our USB headers).  It
adds an extra flag to usbnet for the hardware driver to indicate that
it can handle and requires the zero length packets.

This patch should not affect other usbnet users, please also consider
for -stable.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-22 14:28:26 -07:00
..
association.h USB: wusb: annotate association types withe proper endianness 2009-01-07 09:59:51 -08:00
atmel_usba_udc.h atmel_usba_udc: move endpoint declarations into platform data. 2008-04-06 17:15:08 -04:00
audio.h USB: audio: add USB audio class definitions 2009-06-15 21:44:47 -07:00
c67x00.h USB: add Cypress c67x00 OTG controller core driver 2008-05-02 10:25:56 -07:00
cdc.h usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
ch9.h USB: Change names of SuperSpeed ep companion descriptor structs. 2009-06-15 21:44:50 -07:00
composite.h USB: composite.h: mark private struct members as private: 2009-06-15 21:44:44 -07:00
ehci_def.h usb: move ehci reg def 2008-07-26 16:17:01 +02:00
g_printer.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
gadget.h USB: gpio_vbus: add delayed vbus_session calls 2009-03-24 16:20:26 -07:00
gadgetfs.h headers_check fix: usb/gadgetfs.h 2009-01-30 23:37:37 +05:30
gpio_vbus.h USB: otg: gpio_vbus transceiver stub 2009-01-07 10:00:02 -08:00
input.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
iowarrior.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
irda.h usb: irda: cleanup on ir-usb module 2008-07-21 15:16:27 -07:00
isp116x.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
Kbuild usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
langwell_udc.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
midi.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
musb.h USB: musb: Prevent multiple includes of musb.h 2009-04-23 14:15:28 -07:00
net2280.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
otg.h USB: nop-usb-xceiv: behave when linked as a module 2009-06-15 21:44:40 -07:00
quirks.h USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
r8a66597.h USB: r8a66597-hcd: use platform_data instead of module_param 2009-06-15 21:44:46 -07:00
rndis_host.h rndis_wlan: handle 802.11 indications from device 2009-08-04 16:44:17 -04:00
serial.h tty: Fix USB kref leak 2009-07-10 19:17:22 -07:00
sl811.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
tmc.h USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usbnet.h smsc95xx: fix transmission where ZLP is expected 2009-09-22 14:28:26 -07:00
vstusb.h usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
wusb-wa.h wusb: do a proper channel stop 2008-10-28 12:08:46 +00:00
wusb.h trivial: wusb: Storage class should be before const qualifier 2009-03-30 15:22:03 +02:00