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 glue in necessary IBM PS/2 k...
details: https://anonhg.NetBSD.org/src/rev/b77bcf3e5fe0
branches: trunk
changeset: 514904:b77bcf3e5fe0
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Sep 13 18:09:19 2001 +0000
description:
glue in necessary IBM PS/2 kern set bits
diffstat:
distrib/utils/sysinst/arch/i386/md.c | 6 +++++-
distrib/utils/sysinst/arch/i386/md.h | 5 +++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (53 lines):
diff -r cf6801240171 -r b77bcf3e5fe0 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c Thu Sep 13 18:08:13 2001 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c Thu Sep 13 18:09:19 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.55 2001/01/27 07:34:39 jmc Exp $ */
+/* $NetBSD: md.c,v 1.56 2001/09/13 18:09:19 jdolecek Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -645,6 +645,8 @@
return "small";
else if (strstr(ut.version, "LAPTOP") != NULL)
return "laptop";
+ else if (strstr(ut.version, "PS2") != NULL)
+ return "ps2";
return "";
}
@@ -658,6 +660,8 @@
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];
}
/*
diff -r cf6801240171 -r b77bcf3e5fe0 distrib/utils/sysinst/arch/i386/md.h
--- a/distrib/utils/sysinst/arch/i386/md.h Thu Sep 13 18:08:13 2001 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.h Thu Sep 13 18:09:19 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.h,v 1.28 2001/06/16 14:33:08 jdolecek Exp $ */
+/* $NetBSD: md.h,v 1.29 2001/09/13 18:09:19 jdolecek Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -94,6 +94,7 @@
= {
{"kern-laptop", 1, "ah", "Laptop Kernel : "},
{"kern-tiny", 1, "ac", "Small Kernel : "},
+ {"kern-ps2tiny", 1, "af", "IBM PS/2 Kern : "},
}
#endif
;
@@ -102,7 +103,7 @@
* Disk names accepted as valid targets for a from-scratch installation.
*
* On i386, we allow "wd" ST-506/IDE disks, "sd" scsi disks, "ld" logical
- * disks.
+ * disks, "ed" IBM ESDI disks
*/
EXTERN char *disk_names[]
#ifdef MAIN
Home |
Main Index |
Thread Index |
Old Index