gianfar: Fix VLAN HW feature related frame/buffer size calculation.
authorDai Haruki <[email protected]>
Tue, 16 Dec 2008 23:30:48 +0000 (15:30 -0800)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Acked-by: Andy Fleming <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/gianfar.c
drivers/net/gianfar.h