diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2006-01-12 19:51:10 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:48:02 -0500 |
commit | ff14701350eef6df9b7fc0ae118e1689e141a54c (patch) | |
tree | 2c49417d650df54c2ce85d06fd4983df13ae1493 /drivers/net | |
parent | d74bbd3bbfd70470446e0d8153f91967d53c0798 (diff) |
[PATCH] e1000: Fix VLAN support
Fixed VLAN support by switching control over to the firmware.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index dd3d3232c94e..8190eb00d54f 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -4245,8 +4245,12 @@ e1000_vlan_rx_kill_vid(struct net_device *netdev, uint16_t vid) | |||
4245 | 4245 | ||
4246 | if((adapter->hw.mng_cookie.status & | 4246 | if((adapter->hw.mng_cookie.status & |
4247 | E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT) && | 4247 | E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT) && |
4248 | (vid == adapter->mng_vlan_id)) | 4248 | (vid == adapter->mng_vlan_id)) { |
4249 | /* release control to f/w */ | ||
4250 | e1000_release_hw_control(adapter); | ||
4249 | return; | 4251 | return; |
4252 | } | ||
4253 | |||
4250 | /* remove VID from filter table */ | 4254 | /* remove VID from filter table */ |
4251 | index = (vid >> 5) & 0x7F; | 4255 | index = (vid >> 5) & 0x7F; |
4252 | vfta = E1000_READ_REG_ARRAY(&adapter->hw, VFTA, index); | 4256 | vfta = E1000_READ_REG_ARRAY(&adapter->hw, VFTA, index); |