Sun Jan 14 13:22:15 2024 UTC (127d)
Pull up following revision(s) (requested by tsutsui in ticket #537):

	usr.sbin/sysinst/arch/atari/md.c: revision 1.11

Fix a typo of a kernel name on detecting a running machine type.


(martin)
diff -r1.10 -r1.10.2.1 src/usr.sbin/sysinst/arch/atari/md.c

cvs diff -r1.10 -r1.10.2.1 src/usr.sbin/sysinst/arch/atari/md.c (expand / switch to unified diff)

--- src/usr.sbin/sysinst/arch/atari/md.c 2022/12/09 17:02:13 1.10
+++ src/usr.sbin/sysinst/arch/atari/md.c 2024/01/14 13:22:15 1.10.2.1
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: md.c,v 1.10 2022/12/09 17:02:13 martin Exp $ */ 1/* $NetBSD: md.c,v 1.10.2.1 2024/01/14 13:22:15 martin Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Based on code written by Philip A. Nelson for Piermont Information 7 * Based on code written by Philip A. Nelson for Piermont Information
8 * Systems Inc. 8 * Systems Inc.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -63,27 +63,27 @@ md_init_set_status(int flags) @@ -63,27 +63,27 @@ md_init_set_status(int flags)
63 * enable the installation of the corresponding GENERIC-like kernel. 63 * enable the installation of the corresponding GENERIC-like kernel.
64 */ 64 */
65 uname(&instsys); 65 uname(&instsys);
66 if (strstr(instsys.version, "(ATARITT")) 66 if (strstr(instsys.version, "(ATARITT"))
67 set_kernel_set(SET_KERNEL_1); 67 set_kernel_set(SET_KERNEL_1);
68 else if (strstr(instsys.version, "(FALCON")) 68 else if (strstr(instsys.version, "(FALCON"))
69 set_kernel_set(SET_KERNEL_2); 69 set_kernel_set(SET_KERNEL_2);
70 else if (strstr(instsys.version, "(SMALL030")) 70 else if (strstr(instsys.version, "(SMALL030"))
71 set_kernel_set(SET_KERNEL_3); 71 set_kernel_set(SET_KERNEL_3);
72 else if (strstr(instsys.version, "(HADES")) 72 else if (strstr(instsys.version, "(HADES"))
73 set_kernel_set(SET_KERNEL_4); 73 set_kernel_set(SET_KERNEL_4);
74 else if (strstr(instsys.version, "(MILAN-ISAIDE")) 74 else if (strstr(instsys.version, "(MILAN-ISAIDE"))
75 set_kernel_set(SET_KERNEL_5); 75 set_kernel_set(SET_KERNEL_5);
76 else if (strstr(instsys.version, "(MILAN_PCIIDE")) 76 else if (strstr(instsys.version, "(MILAN-PCIIDE"))
77 set_kernel_set(SET_KERNEL_6); 77 set_kernel_set(SET_KERNEL_6);
78} 78}
79 79
80bool 80bool
81md_get_info(struct install_partition_desc *install) 81md_get_info(struct install_partition_desc *install)
82{ 82{
83 set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); 83 set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
84 return true; 84 return true;
85} 85}
86 86
87/* 87/*
88 * md back-end code for menu-driven BSD disklabel editor. 88 * md back-end code for menu-driven BSD disklabel editor.
89 */ 89 */