]> 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)
commit866c4dac23b9eca266af3ae0fe58c5530306db70
tree4d02c8d55b2f51708d873c914a778935c18c3e9c
parente7cb20608a1c0fee66d7c3c3cdfee1b37c0dc92d
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