diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-25 12:01:01 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-04-13 22:17:50 -0400 |
commit | 86d70e532c352bd309dab5f1d18d113f441cb3ae (patch) | |
tree | f905aa3db40ff99c23e1d7574a919c0c458183e4 /drivers/net/e1000e/e1000.h | |
parent | a5cc764206a3d01dce8ebc17b4e1534afb53c495 (diff) |
e1000e: convert to new VLAN model
This switches the e1000e driver to use the new VLAN interfaces.
CC: Jesse Gross <jesse@nicira.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Diffstat (limited to 'drivers/net/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index 00bf595ebd67..500896e42206 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #ifndef _E1000_H_ | 31 | #ifndef _E1000_H_ |
32 | #define _E1000_H_ | 32 | #define _E1000_H_ |
33 | 33 | ||
34 | #include <linux/bitops.h> | ||
34 | #include <linux/types.h> | 35 | #include <linux/types.h> |
35 | #include <linux/timer.h> | 36 | #include <linux/timer.h> |
36 | #include <linux/workqueue.h> | 37 | #include <linux/workqueue.h> |
@@ -39,6 +40,7 @@ | |||
39 | #include <linux/pci.h> | 40 | #include <linux/pci.h> |
40 | #include <linux/pci-aspm.h> | 41 | #include <linux/pci-aspm.h> |
41 | #include <linux/crc32.h> | 42 | #include <linux/crc32.h> |
43 | #include <linux/if_vlan.h> | ||
42 | 44 | ||
43 | #include "hw.h" | 45 | #include "hw.h" |
44 | 46 | ||
@@ -280,7 +282,7 @@ struct e1000_adapter { | |||
280 | 282 | ||
281 | const struct e1000_info *ei; | 283 | const struct e1000_info *ei; |
282 | 284 | ||
283 | struct vlan_group *vlgrp; | 285 | unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; |
284 | u32 bd_number; | 286 | u32 bd_number; |
285 | u32 rx_buffer_len; | 287 | u32 rx_buffer_len; |
286 | u16 mng_vlan_id; | 288 | u16 mng_vlan_id; |