]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Added used include of <machine/bus.h> -- don't depend on evil namespace
authorbde <bde@FreeBSD.org>
Sat, 4 Nov 2000 15:03:34 +0000 (15:03 +0000)
committerbde <bde@FreeBSD.org>
Sat, 4 Nov 2000 15:03:34 +0000 (15:03 +0000)
commit048bdff41c996b7ebd1b376dcb8e59063c10d506
tree99636eab390565a6410ad8a1a0c73977185752e6
parenta9f20e6f32d56b921dd9e2c916b6ab7d4ae3f48a
Added 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 but dependent on the pollution.
There was still a toy version of bus_space_read_1() in unreachable code.
sys/dev/en/if_en_pci.c
sys/pci/if_en_pci.c