]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Enable padding and Optimize the frame prepended bytes handling
authorDai Haruki <dai.haruki@freescale.com>
Tue, 16 Dec 2008 23:31:15 +0000 (15:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 23:31:15 +0000 (15:31 -0800)
commit9e24e794a9f5c90d8c35812285c6a81fb565643b
tree442c26c218e4bed0dca5c3922fe88eeb8a1586f2
parent44d190a1102b7dee9b092e023a0e66074e9ab62a
gianfar: Enable padding and Optimize the frame prepended bytes handling

The eTSEC can prepend up to 32 bytes to a received frame, usually for the
purpose of aligning the IP address to a word boundary, so this turns it on.

While we're in there, make the handling of the pre-frame bytes (padding and
Frame Control Block) cleaner.

Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c