summaryrefslogtreecommitdiffstats
path: root/drivers/net/bfin_mac.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-10 03:54:32 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-10 22:31:14 +0100
commitc599bd6b9ac8926b03e6bf332a8c14ae2ffb43a3 (patch)
tree353f7dc0114794bb9b78ceae4c42c724ef0d10e2 /drivers/net/bfin_mac.h
parentnetdev: bfin_mac: disable hardware checksum if writeback cache is enabled (diff)
downloadlinux-c599bd6b9ac8926b03e6bf332a8c14ae2ffb43a3.tar.xz
linux-c599bd6b9ac8926b03e6bf332a8c14ae2ffb43a3.zip
netdev: bfin_mac: let boards set vlan masks
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bfin_mac.h')
-rw-r--r--drivers/net/bfin_mac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bfin_mac.h b/drivers/net/bfin_mac.h
index 692187da99f0..f8559ac9a403 100644
--- a/drivers/net/bfin_mac.h
+++ b/drivers/net/bfin_mac.h
@@ -82,6 +82,9 @@ struct bfin_mac_local {
struct timer_list tx_reclaim_timer;
struct net_device *ndev;
+ /* Data for EMAC_VLAN1 regs */
+ u16 vlan1_mask, vlan2_mask;
+
/* MII and PHY stuffs */
int old_link; /* used by bf537_adjust_link */
int old_speed;