diff options
author | Jesse Gross <jesse@nicira.com> | 2010-10-20 09:56:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 04:26:50 -0400 |
commit | b738127dfb469bb9f595cdace30e7f881e8146b2 (patch) | |
tree | a2d79958aa2da098dc38c72973205d516896c54b /drivers/net/benet/be.h | |
parent | 13937911f93ef52ae652f4652761aea6a58d3193 (diff) |
vlan: Rename VLAN_GROUP_ARRAY_LEN to VLAN_N_VID.
VLAN_GROUP_ARRAY_LEN is simply the number of possible vlan VIDs.
Since vlan groups will soon be more of an implementation detail
for vlan devices, rename the constant to be descriptive of its
actual purpose.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 1afabb1e6620..59a17b569b7f 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -263,7 +263,7 @@ struct be_adapter { | |||
263 | struct vlan_group *vlan_grp; | 263 | struct vlan_group *vlan_grp; |
264 | u16 vlans_added; | 264 | u16 vlans_added; |
265 | u16 max_vlans; /* Number of vlans supported */ | 265 | u16 max_vlans; /* Number of vlans supported */ |
266 | u8 vlan_tag[VLAN_GROUP_ARRAY_LEN]; | 266 | u8 vlan_tag[VLAN_N_VID]; |
267 | struct be_dma_mem mc_cmd_mem; | 267 | struct be_dma_mem mc_cmd_mem; |
268 | 268 | ||
269 | struct be_dma_mem stats_cmd; | 269 | struct be_dma_mem stats_cmd; |