Supported PC-98.
This commit is contained in:
parent
78ae26252e
commit
d1c418891e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60374
@ -48,8 +48,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Static ports to access PnP state machine */
|
/* Static ports to access PnP state machine */
|
||||||
#if defined(PC98) && defined(_KERNEL)
|
#ifdef PC98
|
||||||
/* pnp.h is included from pnpinfo.c. */
|
|
||||||
#define _PNP_ADDRESS 0x259
|
#define _PNP_ADDRESS 0x259
|
||||||
#define _PNP_WRITE_DATA 0xa59
|
#define _PNP_WRITE_DATA 0xa59
|
||||||
#else
|
#else
|
||||||
|
@ -6,6 +6,10 @@ SRCS= pnpinfo.c
|
|||||||
CFLAGS+=-I${.CURDIR}/../../sys
|
CFLAGS+=-I${.CURDIR}/../../sys
|
||||||
MAN8= pnpinfo.8
|
MAN8= pnpinfo.8
|
||||||
|
|
||||||
|
.if ${MACHINE} == "pc98"
|
||||||
|
CFLAGS+= -DPC98
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} == "alpha"
|
.if ${MACHINE_ARCH} == "alpha"
|
||||||
LDADD+= -lio
|
LDADD+= -lio
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user