summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-10-02 16:44:24 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-10-02 16:44:24 +0000
commite32672338be11d94f2e8f5a16e2e1d4f83ed0a1b (patch)
tree9f22cdbdfb0005cfad66a6f1f3ce501a85236eca
parent5f39bbdbceef9463a14f44c4363827efe4520859 (diff)
remove if NVLAN here too
-rw-r--r--sys/dev/ic/xl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index baee21f0de4..4b1204e218b 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.56 2004/09/28 05:14:44 brad Exp $ */
+/* $OpenBSD: xl.c,v 1.57 2004/10/02 16:44:23 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -2142,7 +2142,6 @@ xl_init(xsc)
else
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_COAX_STOP);
-#if NVLAN > 0
/*
* increase packet size to allow reception of 802.1q or ISL packets.
* For the 3c90x chip, set the 'allow large packets' bit in the MAC
@@ -2158,7 +2157,6 @@ xl_init(xsc)
macctl |= XL_MACCTRL_ALLOW_LARGE_PACK;
CSR_WRITE_1(sc, XL_W3_MAC_CTRL, macctl);
}
-#endif
/* Clear out the stats counters. */
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_STATS_DISABLE);