summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-11-17 13:57:32 +0000
committernyan <nyan@FreeBSD.org>2001-11-17 13:57:32 +0000
commitd482b20b09f500a3ef1167b40ef5fcfb99aa7e69 (patch)
treed7439b692caadf77fcb4454d94b3c2455a91f5d2 /sys/boot
parent1999b15875303947878adb2099e304bf02713379 (diff)
downloadFreeBSD-src-d482b20b09f500a3ef1167b40ef5fcfb99aa7e69.zip
FreeBSD-src-d482b20b09f500a3ef1167b40ef5fcfb99aa7e69.tar.gz
MFi386: revision 1.12
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/btx/btx/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/pc98/btx/btx/Makefile b/sys/boot/pc98/btx/btx/Makefile
index 2299632..de14daa 100644
--- a/sys/boot/pc98/btx/btx/Makefile
+++ b/sys/boot/pc98/btx/btx/Makefile
@@ -15,6 +15,15 @@ BOOT_BTX_FLAGS=0x0
AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
AFLAGS+= --defsym PC98=1
+.if defined(BTX_SERIAL)
+BOOT_COMCONSOLE_PORT?= 0x238
+BOOT_COMCONSOLE_SPEED?= 9600
+B2SIOFMT?= 0x3
+
+M4FLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
+ -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
+.endif
+
ORG= 0x9000
all: btx
OpenPOWER on IntegriCloud