diff options
author | bde <bde@FreeBSD.org> | 2000-11-04 14:31:47 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-11-04 14:31:47 +0000 |
commit | a9f20e6f32d56b921dd9e2c916b6ab7d4ae3f48a (patch) | |
tree | eb4b80e7c61c2c5445834d2f861c927195f8b44f /sys/dev/en | |
parent | 4f20c9a97c731bdde09b1cf671d5578d8940118e (diff) | |
download | FreeBSD-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.c | 2 |
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 |