freebsd-skq/sys/amd64
Warner Losh 279f2101e7 Improve compatibility with other systems by changing the default
behavior slightly.

If machine/bus.h is included, but neither bus_memio.h nor bus_pio.h
are included, then behave as if both were included.

This won't change existing drivers, all of which include one or more
of bus_{p,mem}io.h, but will allow drivers from other systems to come
over with fewer changes.  I freely admit that this might not be
optimal for some drivers, but those drivers can be optimized for
FreeBSD after the initial bringup happens.

Without the change, there is a bug that preclude drivers from
compiling with strange warning/errors.

I've been running this here for a while now w/o ill effects.

Reviewed by: gibbs
Not objected to by: bde, arch@ list.
1999-07-03 20:14:08 +00:00
..
amd64 Fix warnings in last commit (dev_t is not an int, and not even int 1999-07-03 17:40:31 +00:00
conf Put on my asbestos suit and attempt to tidy up and add some simple docs 1999-06-29 18:55:53 +00:00
include Improve compatibility with other systems by changing the default 1999-07-03 20:14:08 +00:00
isa Shut up gcc. 1999-06-27 09:08:48 +00:00
pci Move pcibus (host -> pci bus) probe/attach routines from nexus 1999-05-18 20:48:43 +00:00
Makefile Update to know about current kernel directory layout. 1999-02-28 22:14:16 +00:00