]> Zhao Yanbai Git Server - minix.git/commitdiff
Boot monitor default changes to new boot controller usage
authorBen Gras <ben@minix3.org>
Fri, 5 Aug 2005 12:54:48 +0000 (12:54 +0000)
committerBen Gras <ben@minix3.org>
Fri, 5 Aug 2005 12:54:48 +0000 (12:54 +0000)
boot/boot.c

index b383d711fcfc6e5aebd25e0d344997bb5ae0b158..388054421ca1bf4470daccf0825ece316bb38650 100755 (executable)
@@ -869,8 +869,15 @@ void get_parameters(void)
                strcat(params, ul2a(mp->size, 0x10));
        }
        b_setvar(E_SPECIAL|E_VAR, "memory", params);
+
+#if 0
        b_setvar(E_SPECIAL|E_VAR, "c0",
                        DOS ? "dosfile" : get_bus() == 1 ? "at" : "bios");
+#else
+       b_setvar(E_SPECIAL|E_VAR, "label", "AT");
+       b_setvar(E_SPECIAL|E_VAR, "controller", "c0");
+#endif
+
 #if DOS
        b_setvar(E_SPECIAL|E_VAR, "dosfile-d0", vdisk);
 #endif