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)
commit0891b0e08937aaec2c4734acb94c5ff8042313bb
tree4d02c8d55b2f51708d873c914a778935c18c3e9c
parentb852b720877e6b8e12b95a7cb4e00ea351b8cbfc
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