aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-30 17:58:38 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-30 17:58:38 -0800
commit56d06ed1af5b29f6fc6130b02730f762f5ab384e (patch)
tree4df4f46aef3a674345bfc3c19fb34979dcbe01dc
parent4487bada1a0997294e70cd418c74a53047cf784e (diff)
downloadsyslinux-elf-56d06ed1af5b29f6fc6130b02730f762f5ab384e.tar.gz
syslinux-elf-56d06ed1af5b29f6fc6130b02730f762f5ab384e.tar.xz
syslinux-elf-56d06ed1af5b29f6fc6130b02730f762f5ab384e.zip
MEMDISK: ebios/noebios as synonyms to edd/noedd
-rw-r--r--memdisk/setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/memdisk/setup.c b/memdisk/setup.c
index 70dc1d65..96e87b08 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -582,9 +582,11 @@ void setup(syscall_t cs_syscall, void *cs_bounce)
geometry = get_disk_image_geometry(ramdisk_image, ramdisk_size);
- if (getcmditem("edd") != CMD_NOTFOUND)
+ if (getcmditem("edd") != CMD_NOTFOUND ||
+ getcmditem("ebios") != CMD_NOTFOUND)
do_edd = 1;
- else if (getcmditem("noedd") != CMD_NOTFOUND)
+ else if (getcmditem("noedd") != CMD_NOTFOUND ||
+ getcmditem("noebios") != CMD_NOTFOUND)
do_edd = 0;
else
do_edd = (geometry->driveno & 0x80) ? 1 : 0;