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
..
1999-05-22 08:36:55 +00:00
1998-12-19 00:02:34 +00:00
1999-05-12 21:39:07 +00:00
1999-06-01 18:20:36 +00:00
1999-06-01 18:20:36 +00:00
1999-05-18 12:14:39 +00:00
1999-05-22 08:36:55 +00:00
1999-06-01 18:20:36 +00:00
1999-06-01 18:20:36 +00:00
1998-01-20 09:09:24 +00:00
1998-06-13 19:36:22 +00:00
1997-08-09 00:04:06 +00:00
1999-04-08 08:09:34 +00:00
1999-06-01 18:20:36 +00:00