summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-29 01:00:03 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-29 01:00:03 +0000
commit09697ffb1735320b9d6dd317f32e160652143edd (patch)
treec3063fd7371c8ae8abeaa7b25a769b9735e4d0c9 /sys/dev/pci
parentcd3d1855d99fd20fea52e62380bf1f4d015125c3 (diff)
garbage collect NFE_NO_JUMBO.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_nfe.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 75d40236c49..5ec75829340 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.61 2006/05/28 00:20:21 brad Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.62 2006/05/29 01:00:02 brad Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -113,8 +113,6 @@ struct cfdriver nfe_cd = {
NULL, "nfe", DV_IFNET
};
-/*#define NFE_NO_JUMBO*/
-
#ifdef NFE_DEBUG
int nfedebug = 0;
#define DPRINTF(x) do { if (nfedebug) printf x; } while (0)
@@ -222,11 +220,9 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
break;
}
-#ifndef NFE_NO_JUMBO
/* enable jumbo frames for adapters that support it */
if (sc->sc_flags & NFE_JUMBO_SUP)
sc->sc_flags |= NFE_USE_JUMBO;
-#endif
/*
* Allocate Tx and Rx rings.