Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/i386 Change default countdown tim...



details:   https://anonhg.NetBSD.org/src/rev/87ccddd28517
branches:  trunk
changeset: 584348:87ccddd28517
user:      jdarrow <jdarrow%NetBSD.org@localhost>
date:      Tue Sep 13 23:43:22 2005 +0000

description:
Change default countdown time to 5 seconds to match i386 bootblock
defaults in sys/arch/i386/stand/lib/boot_params.S

Fixes PR install/30422 by me.

diffstat:

 distrib/utils/sysinst/arch/i386/md.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 2093e4652688 -r 87ccddd28517 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Tue Sep 13 22:08:21 2005 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Tue Sep 13 23:43:22 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.107 2005/07/09 15:05:13 xtraeme Exp $ */
+/*     $NetBSD: md.c,v 1.108 2005/09/13 23:43:22 jdarrow Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -299,8 +299,13 @@
        int td, sd;
        char bootxx[8192 + 4];
        char *bootxx_filename;
+       /*
+        * XXX - should either find some way to pull this automatically
+        * from sys/arch/i386/stand/lib/boot_params.S, or just bite the
+        * bullet and include /sbin/installboot on the ramdisk
+        */
        static struct x86_boot_params boottype =
-               {sizeof boottype, 0, 10, 0, 9600, { '\0' }};
+               {sizeof boottype, 0, 5, 0, 9600, { '\0' }};
        static int conmib[] = {CTL_MACHDEP, CPU_CONSDEV};
        struct termios t;
        dev_t condev;



Home | Main Index | Thread Index | Old Index