diff options
author | nyan <nyan@FreeBSD.org> | 2000-05-11 11:09:50 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-05-11 11:09:50 +0000 |
commit | 5c2106e7d4ea48dbde851e51ae9a14717355a402 (patch) | |
tree | c4493e2314f0226388fd1ca4a376e6cbf60367c0 | |
parent | 7d6740ec11e74d97fb52354e28552590cf2dc4ad (diff) | |
download | FreeBSD-src-5c2106e7d4ea48dbde851e51ae9a14717355a402.zip FreeBSD-src-5c2106e7d4ea48dbde851e51ae9a14717355a402.tar.gz |
Supported PC-98.
-rw-r--r-- | sys/isa/pnpreg.h | 3 | ||||
-rw-r--r-- | usr.sbin/pnpinfo/Makefile | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/isa/pnpreg.h b/sys/isa/pnpreg.h index c5324f6..04d6131 100644 --- a/sys/isa/pnpreg.h +++ b/sys/isa/pnpreg.h @@ -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 diff --git a/usr.sbin/pnpinfo/Makefile b/usr.sbin/pnpinfo/Makefile index 6cc8c97..ca49b4b 100644 --- a/usr.sbin/pnpinfo/Makefile +++ b/usr.sbin/pnpinfo/Makefile @@ -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 |