aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-03-11 07:55:41 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-13 14:27:24 -0400
commita7a655f22c75f48e0afe8b86be03ecd70bd68b07 (patch)
treebc2ea2923f5b89a8bfceb0f92c12a1e8fb96b78c /drivers/net/qlge
parentc3c6496dc3d94d87bb0da86cf0bf48764577bf77 (diff)
qlge: bugfix: Tell hw to strip vlan header.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r--drivers/net/qlge/qlge_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 87787b1ecab..54d54ea03d4 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -2984,9 +2984,9 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
2984 mask = value << 16; 2984 mask = value << 16;
2985 ql_write32(qdev, SYS, mask | value); 2985 ql_write32(qdev, SYS, mask | value);
2986 2986
2987 /* Set the default queue. */ 2987 /* Set the default queue, and VLAN behavior. */
2988 value = NIC_RCV_CFG_DFQ; 2988 value = NIC_RCV_CFG_DFQ | NIC_RCV_CFG_RV;
2989 mask = NIC_RCV_CFG_DFQ_MASK; 2989 mask = NIC_RCV_CFG_DFQ_MASK | (NIC_RCV_CFG_RV << 16);
2990 ql_write32(qdev, NIC_RCV_CFG, (mask | value)); 2990 ql_write32(qdev, NIC_RCV_CFG, (mask | value));
2991 2991
2992 /* Set the MPI interrupt to enabled. */ 2992 /* Set the MPI interrupt to enabled. */