aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorshemminger@osdl.org <shemminger@osdl.org>2005-09-27 18:02:57 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-28 11:49:32 -0400
commitd1f1370863f7fa3d76dc7d7779debdda854a5a60 (patch)
tree9b27703564b30b25f9c772ec3afa4fa1fc22b536 /drivers/net/sky2.h
parentd11c13e752c4e34777d33579ee0378e0178ef52d (diff)
[PATCH] sky2: add hardware VLAN acceleration support
Use the hardware to do VLAN. Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r--drivers/net/sky2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 1a8a004e1060..ac91d91f130b 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -1578,6 +1578,8 @@ enum {
1578 GMF_RST_SET = 1<<0, /* Set GMAC FIFO Reset */ 1578 GMF_RST_SET = 1<<0, /* Set GMAC FIFO Reset */
1579 1579
1580 RX_GMF_FL_THR_DEF = 0xa, /* flush threshold (default) */ 1580 RX_GMF_FL_THR_DEF = 0xa, /* flush threshold (default) */
1581
1582 GMF_RX_CTRL_DEF = GMF_OPER_ON | GMF_RX_F_FL_ON,
1581}; 1583};
1582 1584
1583 1585
@@ -1826,6 +1828,10 @@ struct sky2_port {
1826 u16 rx_put; /* next le index to use */ 1828 u16 rx_put; /* next le index to use */
1827 u16 rx_pending; 1829 u16 rx_pending;
1828 u16 rx_last_put; 1830 u16 rx_last_put;
1831#ifdef SKY2_VLAN_TAG_USED
1832 u16 rx_tag;
1833 struct vlan_group *vlgrp;
1834#endif
1829 1835
1830 dma_addr_t rx_le_map; 1836 dma_addr_t rx_le_map;
1831 dma_addr_t tx_le_map; 1837 dma_addr_t tx_le_map;