diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2008-09-04 16:52:54 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:49:04 -0400 |
commit | cd0fce0322cd10ab39ace584be12f809988a1b9a (patch) | |
tree | 0eb4f09a6b9c79c87c222df11e9b89064b364038 /drivers/net/s2io.h | |
parent | 52845c3fd80c09f8ceac54513ae9cffac219cff7 (diff) |
s2io: Fix enabling VLAN tag stripping at driver initialization
VLAN doesn't work except if you'd opened the interface in promiscuous
mode before. This happens because VLAN tag stripping is not correctly
marked as enabled at device startup
Also, the vlan_strip_flag field was moved to the private network
structure.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 6722a2f7d091..55cb943f23f8 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -962,6 +962,7 @@ struct s2io_nic { | |||
962 | int task_flag; | 962 | int task_flag; |
963 | unsigned long long start_time; | 963 | unsigned long long start_time; |
964 | struct vlan_group *vlgrp; | 964 | struct vlan_group *vlgrp; |
965 | int vlan_strip_flag; | ||
965 | #define MSIX_FLG 0xA5 | 966 | #define MSIX_FLG 0xA5 |
966 | int num_entries; | 967 | int num_entries; |
967 | struct msix_entry *entries; | 968 | struct msix_entry *entries; |