diff options
author | Jiri Pirko <jpirko@redhat.com> | 2011-07-20 00:54:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-21 16:47:54 -0400 |
commit | f859d7cb7967efaedae194dd90a23a7a72fb216d (patch) | |
tree | dd3e14f6d87a4320582c3fe9fcfa1532ddd4cd1a /drivers/net/bna/bnad.h | |
parent | 2707fffc0f330662d75ff609470700100392673f (diff) |
bnad: do vlan cleanup
- unify vlan and nonvlan rx path
- kill bnad->vlan_grp and bnad_vlan_rx_register
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bnad.h')
-rw-r--r-- | drivers/net/bna/bnad.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bna/bnad.h b/drivers/net/bna/bnad.h index ccdabad0a40c..7aa550b6182d 100644 --- a/drivers/net/bna/bnad.h +++ b/drivers/net/bna/bnad.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/etherdevice.h> | 24 | #include <linux/etherdevice.h> |
25 | #include <linux/mutex.h> | 25 | #include <linux/mutex.h> |
26 | #include <linux/firmware.h> | 26 | #include <linux/firmware.h> |
27 | #include <linux/if_vlan.h> | ||
27 | 28 | ||
28 | /* Fix for IA64 */ | 29 | /* Fix for IA64 */ |
29 | #include <asm/checksum.h> | 30 | #include <asm/checksum.h> |
@@ -216,7 +217,7 @@ struct bnad { | |||
216 | struct bnad_tx_info tx_info[BNAD_MAX_TXS]; | 217 | struct bnad_tx_info tx_info[BNAD_MAX_TXS]; |
217 | struct bnad_rx_info rx_info[BNAD_MAX_RXS]; | 218 | struct bnad_rx_info rx_info[BNAD_MAX_RXS]; |
218 | 219 | ||
219 | struct vlan_group *vlan_grp; | 220 | unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; |
220 | /* | 221 | /* |
221 | * These q numbers are global only because | 222 | * These q numbers are global only because |
222 | * they are used to calculate MSIx vectors. | 223 | * they are used to calculate MSIx vectors. |