summaryrefslogtreecommitdiffstats
path: root/sys/dev/en/midway.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/en/midway.c')
-rw-r--r--sys/dev/en/midway.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index c6797f4..410d2f3 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -108,7 +108,7 @@
#endif /* EN_DEBUG */
#ifdef __FreeBSD__
-#include "en.h"
+#include "en.h" /* XXX for midwayvar.h's NEN */
#include "opt_inet.h"
#include "opt_natm.h"
#include "opt_ddb.h"
@@ -119,8 +119,6 @@
#endif
#endif
-#if NEN > 0 || !defined(__FreeBSD__)
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/queue.h>
@@ -3446,5 +3444,3 @@ int unit, addr, len;
return(0);
}
#endif
-
-#endif /* NEN > 0 || !defined(__FreeBSD__) */
OpenPOWER on IntegriCloud