Source-Changes-HG archive

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

[src/netbsd-1-6]: src/distrib/utils/sysinst/arch/i386 Pull up revision 1.59 (...



details:   https://anonhg.NetBSD.org/src/rev/81713a8993b8
branches:  netbsd-1-6
changeset: 527611:81713a8993b8
user:      tv <tv%NetBSD.org@localhost>
date:      Wed May 29 20:46:16 2002 +0000

description:
Pull up revision 1.59 (requested by tv in ticket #69):
Rip out the "special_kernel_list" code, as we now have differently named
kernel sets in dist_list[] instead.  If we want logic like this, it needs
to be re-added as twiddling the "on" state of the correctly named kernel.

diffstat:

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

diffs (25 lines):

diff -r d89d9f6b7dac -r 81713a8993b8 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Wed May 29 20:45:05 2002 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Wed May 29 20:46:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.58 2002/02/03 22:21:56 skrll Exp $ */
+/*     $NetBSD: md.c,v 1.58.2.1 2002/05/29 20:46:16 tv Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -649,15 +649,6 @@
 void
 md_init()
 {
-       char *bootmodel;
-
-       bootmodel = get_bootmodel();
-       if (strcmp(bootmodel, "laptop") == 0)
-               dist_list[0] = special_kernel_list[0];
-       else if (strcmp(bootmodel, "tiny") == 0)
-               dist_list[0] = special_kernel_list[1];
-       else if (strcmp(bootmodel, "ps2") == 0)
-               dist_list[0] = special_kernel_list[2];
 }
 
 void



Home | Main Index | Thread Index | Old Index