Supported PC-98.

This commit is contained in:
Yoshihiro Takahashi 2000-05-11 11:09:50 +00:00
parent 78ae26252e
commit d1c418891e
2 changed files with 5 additions and 2 deletions

View File

@ -48,8 +48,7 @@
#endif
/* Static ports to access PnP state machine */
#if defined(PC98) && defined(_KERNEL)
/* pnp.h is included from pnpinfo.c. */
#ifdef PC98
#define _PNP_ADDRESS 0x259
#define _PNP_WRITE_DATA 0xa59
#else

View File

@ -6,6 +6,10 @@ SRCS= pnpinfo.c
CFLAGS+=-I${.CURDIR}/../../sys
MAN8= pnpinfo.8
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
.if ${MACHINE_ARCH} == "alpha"
LDADD+= -lio
.endif