linux/drivers/net/usb
Nico Erfurth ea1649dea9 Fix incorrect usage of NET_IP_ALIGN
The driver used NET_IP_ALIGN to remove some additional padding inside of
the rx_fixup function. On many architectures NET_IP_ALIGN defaults to 2
which removed the correct amount of bytes.

On MCORE2-machines commit ea812ca1b0
introduces a change which sets NET_IP_ALIGN to 0 by default. Which
triggered the bug on these machines.

This fix introduces a new RXW_PADDING define and uses this instead of
NET_IP_ALIGN. The name was taken from the original SMSC7500 driver which
is provided by SMSC.

Signed-off-by: Nico Erfurth <ne@erfurth.eu>
Tested-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-08 12:37:07 -05:00
..
asix.c NET: asix: fix ethtool -e for AX88178 USB dongle 2011-10-19 19:31:02 -04:00
catc.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
cdc_eem.c Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6 2011-04-07 11:14:49 -07:00
cdc_ether.c net/usb: mark LG VL600 LTE modem ethernet interface as WWAN 2011-05-10 15:03:50 -07:00
cdc_ncm.c usbnet/cdc_ncm: Don't use stack variables for DMA 2011-08-13 18:00:32 -07:00
cdc_subset.c usbnet: use eth%d name for known ethernet devices 2011-04-01 20:12:02 -07:00
cdc-phonet.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
cx82310_eth.c
dm9601.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
gl620a.c usbnet: use eth%d name for known ethernet devices 2011-04-01 20:12:02 -07:00
hso.c hso: fix a use after free condition 2011-07-08 09:07:59 -07:00
int51x1.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
ipheth.c ipheth: iPhone 4 Verizon CDMA USB Product ID add 2011-09-15 14:49:44 -04:00
kalmia.c drivers/net: static should be at beginning of declaration 2011-07-11 22:15:02 -07:00
kaweth.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
Kconfig MII: fix Kconfig dependencies for MII 2011-09-15 15:49:08 -04:00
lg-vl600.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
Makefile net/usb: Add Samsung Kalmia driver for Samsung GT-B3730 2011-06-16 21:57:49 -04:00
mcs7830.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
net1080.c usbnet: use eth%d name for known ethernet devices 2011-04-01 20:12:02 -07:00
pegasus.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
pegasus.h
plusb.c usb: plusb: Add debug to reset function 2011-04-10 18:46:45 -07:00
rndis_host.c rndis_host: Quirky devices are still 'point-to-point' 2011-04-14 23:23:45 -07:00
rtl8150.c rtl8150: removal of forward declarations. 2011-10-03 14:09:10 -04:00
sierra_net.c
smsc75xx.c Fix incorrect usage of NET_IP_ALIGN 2011-11-08 12:37:07 -05:00
smsc75xx.h
smsc95xx.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
smsc95xx.h
usbnet.c usbnet: fix oops in usbnet_start_xmit 2011-11-07 13:25:41 -05:00
zaurus.c usbnet: Remove over-broad module alias from zaurus. 2011-06-29 06:09:17 -07:00