From owner-cvs-all Sat Jul 3 13:14:39 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F060515042; Sat, 3 Jul 1999 13:14:09 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA65968; Sat, 3 Jul 1999 13:14:09 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <199907032014.NAA65968@freefall.freebsd.org> From: Warner Losh Date: Sat, 3 Jul 1999 13:14:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include bus.h src/sys/i386/include bus.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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