summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/biosboot/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-07 14:28:05 +0000
committerbde <bde@FreeBSD.org>1996-04-07 14:28:05 +0000
commiteac7371c680cc40b848556de7cae6fb713b9bec1 (patch)
tree2bd81532e507434a7971fcda2cc0bb18b5e5ee3d /sys/i386/boot/biosboot/Makefile
parentaa058723017cfa1cb159590804fb08c26260215b (diff)
downloadFreeBSD-src-eac7371c680cc40b848556de7cae6fb713b9bec1.zip
FreeBSD-src-eac7371c680cc40b848556de7cae6fb713b9bec1.tar.gz
Allow specifying the BIOS drive number. Removed the hd drive type.
hd essentially wired the FreeBSD drive number to 0 without changing the BIOS drive number. Now the numbers can be specified independently. Replaced the BOOT_HD compile time flag with with BOOT_HD_BIAS. Defining the new flag as 1 should give the same behaviour as defining the old flag as anything. I haven't tested defining these flags.
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
-rw-r--r--sys/i386/boot/biosboot/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile
index 77e963c..de2f403 100644
--- a/sys/i386/boot/biosboot/Makefile
+++ b/sys/i386/boot/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.37 1996/02/03 21:12:27 joerg Exp $
+# $Id: Makefile,v 1.38 1996/03/08 06:29:05 bde Exp $
#
PROG= boot
@@ -20,10 +20,12 @@ CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
# PROBE_KEYBOARD is defined).
#CFLAGS+= -DFORCE_COMCONSOLE
-# Assume hd(*,a) instead of wd(*,a) if the boot seems to happen from
-# a hard disk.
-# This can be useful for people booting in a mixed IDE/SCSI environment.
-#CFLAGS+= -DBOOT_HD
+# Bias the conversion from the BIOS drive number to the FreeBSD unit number
+# for hard disks to save typing. E.g., BOOT_HD_BIAS=1 makes BIOS drive 1
+# correspond to 1:sd(0,a) instead of 1:sd(1,a).
+# This may be useful for people booting in a mixed IDE/SCSI environment
+# (set BOOT_HD_BIAS to the number of IDE drives).
+#CFLAGS+= -DBOOT_HD_BIAS=1
CLEANFILES+= boot.nohdr boot.strip boot1 boot2 sizetest
DPADD= ${LIBC}
OpenPOWER on IntegriCloud