projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74bbd3
)
[PATCH] e1000: Fix VLAN support
author
Jeff Kirsher
<
[email protected]
>
Fri, 13 Jan 2006 00:51:10 +0000
(16:51 -0800)
committer
Jeff Garzik
<
[email protected]
>
Tue, 17 Jan 2006 12:48:02 +0000
(07:48 -0500)
Fixed VLAN support by switching control over to the firmware.
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: Jesse Brandeburg <
[email protected]
>
Signed-off-by: John Ronciak <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/e1000/e1000_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
index dd3d3232c94e9363510ebe1319a4b0ef75266354..8190eb00d54f8cb7cd99a6982a0239c93bbb910a 100644
(file)
--- 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)
if((adapter->hw.mng_cookie.status &
E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT) &&
- (vid == adapter->mng_vlan_id))
+ (vid == adapter->mng_vlan_id)) {
+ /* release control to f/w */
+ e1000_release_hw_control(adapter);
return;
+ }
+
/* remove VID from filter table */
index = (vid >> 5) & 0x7F;
vfta = E1000_READ_REG_ARRAY(&adapter->hw, VFTA, index);