]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit2c2db48acb34735d8ef257f130c0c330c46c8f6a
tree442c26c218e4bed0dca5c3922fe88eeb8a1586f2
parent77ecaf2d5a8bfd548eed3f05c1c2e6573d5de4ba
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