From c40db6cc734847f5d3013132b80d70a078c16615 Mon Sep 17 00:00:00 2001 From: kato Date: Wed, 3 Feb 1999 08:39:09 +0000 Subject: PC98 version of new boot loader. Because boot2 has not yet ported, files in boot2 directory are copies from legacy biosboot. Submitted by: IMAI Takeshi --- sys/boot/common/isapnp.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/boot/common/isapnp.h') diff --git a/sys/boot/common/isapnp.h b/sys/boot/common/isapnp.h index 0b3b9ec..d1311b2 100644 --- a/sys/boot/common/isapnp.h +++ b/sys/boot/common/isapnp.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: isapnp.h,v 1.1 1998/09/18 00:24:25 msmith Exp $ + * $Id: isapnp.h,v 1.2 1998/10/21 20:07:04 msmith Exp $ */ #ifndef _I386_ISA_PNP_H_ @@ -44,7 +44,8 @@ #define MAX_PNP_LDN 20 /* Static ports to access PnP state machine */ -#if defined(PC98) && defined(KERNEL) +#ifndef KERNEL +#ifdef PC98 /* pnp.h is included from pnpinfo.c. */ #define _PNP_ADDRESS 0x259 #define _PNP_WRITE_DATA 0xa59 @@ -52,6 +53,7 @@ #define _PNP_ADDRESS 0x279 #define _PNP_WRITE_DATA 0xa79 #endif +#endif /* PnP Registers. Write to ADDRESS and then use WRITE/READ_DATA */ #define SET_RD_DATA 0x00 -- cgit v1.1