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
..
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:02 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:55:33 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:43 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:01:56 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:14 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:13 -04:00
2011-11-07 10:29:10 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:52 -04:00
2011-10-31 19:31:53 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 09:11:16 -08:00
2011-11-08 12:37:07 -05:00
2011-10-31 19:31:54 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:01 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:21 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 16:07:02 -07:00
2011-10-31 19:30:38 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:57 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:08 -04:00
2011-11-07 09:11:16 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:38:49 -05:00
2011-11-06 22:22:16 -08:00
2011-10-31 19:32:10 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:19 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:13:34 -08:00
2011-10-31 19:32:01 -04:00