gianfar: Fix VLAN HW feature related frame/buffer size calculation.
authorDai Haruki <dai.haruki@freescale.com>
Tue, 16 Dec 2008 23:30:48 +0000 (15:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 23:30:48 +0000 (15:30 -0800)
commit77ecaf2d5a8bfd548eed3f05c1c2e6573d5de4ba
treecb84f04691e26ebf72df6ca8185313194c4cdf90
parent12dea57be552a291e93827baeffbb91e33f587a6
gianfar: Fix VLAN HW feature related frame/buffer size calculation.

Optimize the VLAN checking logic as well.

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