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 #if 0 out the consdev command s...



details:   https://anonhg.NetBSD.org/src/rev/b58549779ecb
branches:  trunk
changeset: 486352:b58549779ecb
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 19 22:26:50 2000 +0000

description:
#if 0 out the consdev command stuff -- with it, boot blocks don't
work, without it, they work fine.  Size issue?

diffstat:

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

diffs (50 lines):

diff -r 1d832a6b575d -r b58549779ecb sys/arch/i386/stand/biosboot/main.c
--- a/sys/arch/i386/stand/biosboot/main.c       Fri May 19 20:42:20 2000 +0000
+++ b/sys/arch/i386/stand/biosboot/main.c       Fri May 19 22:26:50 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.20 2000/05/13 05:23:37 jhawk Exp $  */
+/*     $NetBSD: main.c,v 1.21 2000/05/19 22:26:50 thorpej Exp $        */
 
 /*
  * Copyright (c) 1996, 1997, 1999
@@ -84,7 +84,9 @@
 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 },
@@ -93,7 +95,7 @@
        { "quit",       command_quit },
        { "boot",       command_boot },
        { "dev",        command_dev },
-#ifdef SUPPORT_SERIAL
+#if defined(SUPPORT_SERIAL) && 0
        { "consdev",    command_consdev },
 #endif
        { NULL,         NULL },
@@ -296,7 +298,7 @@
            "     (ex. \"sd0a:netbsd.old -s\"\n"
            "ls [path]\n"
            "dev xd[N[x]]:\n"
-#ifdef SUPPORT_SERIAL
+#if defined(SUPPORT_SERIAL) && 0
            "consdev {pc|com[0123]|com[0123]kbd|auto}\n"
 #endif
            "help|?\n"
@@ -365,6 +367,7 @@
        default_devname = savedevname;
 }
 
+#if 0
 void
 command_consdev(arg)
        char *arg;
@@ -396,3 +399,4 @@
 
        print_banner();
 }
+#endif /* 0 */



Home | Main Index | Thread Index | Old Index