]> git.baikalelectronics.ru Git - kernel.git/commit
forcedeth: fix vlans
authorJiri Pirko <jpirko@redhat.com>
Tue, 26 Jul 2011 10:19:28 +0000 (10:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 05:39:30 +0000 (22:39 -0700)
commitd3ce642e7c8309ec730670ccbdccef5ca39e58c6
tree4d02c8d55b2f51708d873c914a778935c18c3e9c
parentd21b9fbd69d6dc4955daf9c93d594a7c8534d86e
forcedeth: fix vlans

For some reason, when rxaccel is disabled, NV_RX3_VLAN_TAG_PRESENT is
still set and some pseudorandom vids appear. So check for
NETIF_F_HW_VLAN_RX as well. Also set correctly hw_features and set vlan
mode on probe.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c