Date: Sat, 3 Jul 1999 13:14:09 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include bus.h src/sys/i386/include bus.h Message-ID: <199907032014.NAA65968@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1999/07/03 13:14:09 PDT Modified files: sys/alpha/include bus.h sys/i386/include bus.h Log: 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. Revision Changes Path 1.4 +10 -1 src/sys/alpha/include/bus.h 1.5 +10 -1 src/sys/i386/include/bus.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907032014.NAA65968>