summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-11-04 14:31:47 +0000
committerbde <bde@FreeBSD.org>2000-11-04 14:31:47 +0000
commita9f20e6f32d56b921dd9e2c916b6ab7d4ae3f48a (patch)
treeeb4b80e7c61c2c5445834d2f861c927195f8b44f /sys/dev/en
parent4f20c9a97c731bdde09b1cf671d5578d8940118e (diff)
downloadFreeBSD-src-a9f20e6f32d56b921dd9e2c916b6ab7d4ae3f48a.zip
FreeBSD-src-a9f20e6f32d56b921dd9e2c916b6ab7d4ae3f48a.tar.gz
Enabled the used include of <machine/bus.h> -- don't depend on evil
namespace pollution in <sys/mutex.h>. This was half fixed in rev.1.3 of midwayreg.h. The pollution exposed the bug that this driver was using toy versions of the bus space macros under FreeBSD. Disabling the toy versions made this driver compile and maybe support PIO space, but dependent on the pollution.
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index f2bfbee..36b6f49 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -143,7 +143,7 @@
#include <netnatm/natm.h>
#endif
-#if !defined(sparc) && !defined(__FreeBSD__)
+#ifndef sparc
#include <machine/bus.h>
#endif
OpenPOWER on IntegriCloud