Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/biosboot revert 1.21 (back to 1.20);



details:   https://anonhg.NetBSD.org/src/rev/4ee657fbb8ce
branches:  trunk
changeset: 486414:4ee657fbb8ce
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Sun May 21 16:33:12 2000 +0000

description:
revert 1.21 (back to 1.20);
the problem was due to diskbuf[] getting pushed over a 64k
boundary, and has now been fixed (for the moment).

diffstat:

 sys/arch/i386/stand/biosboot/main.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (50 lines):

diff -r 93340cc9875a -r 4ee657fbb8ce sys/arch/i386/stand/biosboot/main.c
--- a/sys/arch/i386/stand/biosboot/main.c       Sun May 21 16:29:14 2000 +0000
+++ b/sys/arch/i386/stand/biosboot/main.c       Sun May 21 16:33:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.21 2000/05/19 22:26:50 thorpej Exp $        */
+/*     $NetBSD: main.c,v 1.22 2000/05/21 16:33:12 jhawk Exp $  */
 
 /*
  * Copyright (c) 1996, 1997, 1999
@@ -84,9 +84,7 @@
 void   command_quit __P((char *));
 void   command_boot __P((char *));
 void   command_dev __P((char *));
-#if 0
 void   command_consdev __P((char *));
-#endif
 
 struct bootblk_command commands[] = {
        { "help",       command_help },
@@ -95,7 +93,7 @@
        { "quit",       command_quit },
        { "boot",       command_boot },
        { "dev",        command_dev },
-#if defined(SUPPORT_SERIAL) && 0
+#ifdef SUPPORT_SERIAL
        { "consdev",    command_consdev },
 #endif
        { NULL,         NULL },
@@ -298,7 +296,7 @@
            "     (ex. \"sd0a:netbsd.old -s\"\n"
            "ls [path]\n"
            "dev xd[N[x]]:\n"
-#if defined(SUPPORT_SERIAL) && 0
+#ifdef SUPPORT_SERIAL
            "consdev {pc|com[0123]|com[0123]kbd|auto}\n"
 #endif
            "help|?\n"
@@ -367,7 +365,6 @@
        default_devname = savedevname;
 }
 
-#if 0
 void
 command_consdev(arg)
        char *arg;
@@ -399,4 +396,3 @@
 
        print_banner();
 }
-#endif /* 0 */



Home | Main Index | Thread Index | Old Index