Source-Changes-HG archive

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

[src/netbsd-9]: src/usr.sbin/sysinst/arch Pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/263240f98c22
branches:  netbsd-9
changeset: 372639:263240f98c22
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Dec 14 15:39:45 2022 +0000

description:
Pull up following revision(s) (requested by martin in ticket #1554):

        usr.sbin/sysinst/arch/amiga/md.c: revision 1.10
        usr.sbin/sysinst/arch/atari/md.c: revision 1.10
        usr.sbin/sysinst/arch/dummy/md.c: revision 1.8
        usr.sbin/sysinst/arch/sparc/md.c: revision 1.8
        usr.sbin/sysinst/arch/sparc64/md.c: revision 1.8

Add set_default_sizemult() calls to some architectures obviously
lacking it.

diffstat:

 usr.sbin/sysinst/arch/amiga/md.c   |  3 ++-
 usr.sbin/sysinst/arch/atari/md.c   |  3 ++-
 usr.sbin/sysinst/arch/dummy/md.c   |  3 ++-
 usr.sbin/sysinst/arch/sparc/md.c   |  3 ++-
 usr.sbin/sysinst/arch/sparc64/md.c |  4 +++-
 5 files changed, 11 insertions(+), 5 deletions(-)

diffs (86 lines):

diff -r 1b39a37b7002 -r 263240f98c22 usr.sbin/sysinst/arch/amiga/md.c
--- a/usr.sbin/sysinst/arch/amiga/md.c  Wed Dec 14 15:36:52 2022 +0000
+++ b/usr.sbin/sysinst/arch/amiga/md.c  Wed Dec 14 15:39:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.5.2.2 2022/02/02 04:25:38 msaitoh Exp $ */
+/*     $NetBSD: md.c,v 1.5.2.3 2022/12/14 15:39:45 snj Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -59,6 +59,7 @@
 bool
 md_get_info(struct install_partition_desc *install)
 {
+       set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
        return true;
 }
 
diff -r 1b39a37b7002 -r 263240f98c22 usr.sbin/sysinst/arch/atari/md.c
--- a/usr.sbin/sysinst/arch/atari/md.c  Wed Dec 14 15:36:52 2022 +0000
+++ b/usr.sbin/sysinst/arch/atari/md.c  Wed Dec 14 15:39:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6.2.2 2022/02/02 04:25:38 msaitoh Exp $ */
+/*     $NetBSD: md.c,v 1.6.2.3 2022/12/14 15:39:45 snj Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -59,6 +59,7 @@
 bool
 md_get_info(struct install_partition_desc *install)
 {
+       set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
        return true;
 }
 
diff -r 1b39a37b7002 -r 263240f98c22 usr.sbin/sysinst/arch/dummy/md.c
--- a/usr.sbin/sysinst/arch/dummy/md.c  Wed Dec 14 15:36:52 2022 +0000
+++ b/usr.sbin/sysinst/arch/dummy/md.c  Wed Dec 14 15:39:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.5.2.2 2022/02/02 04:25:38 msaitoh Exp $       */
+/*     $NetBSD: md.c,v 1.5.2.3 2022/12/14 15:39:46 snj Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -52,6 +52,7 @@
 bool
 md_get_info(struct install_partition_desc *desc)
 {
+       set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
        return true;
 }
 
diff -r 1b39a37b7002 -r 263240f98c22 usr.sbin/sysinst/arch/sparc/md.c
--- a/usr.sbin/sysinst/arch/sparc/md.c  Wed Dec 14 15:36:52 2022 +0000
+++ b/usr.sbin/sysinst/arch/sparc/md.c  Wed Dec 14 15:39:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.5.2.2 2022/02/02 04:25:40 msaitoh Exp $       */
+/*     $NetBSD: md.c,v 1.5.2.3 2022/12/14 15:39:46 snj Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -67,6 +67,7 @@
 bool
 md_get_info(struct install_partition_desc *install)
 {
+       set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
        return true;
 }
 
diff -r 1b39a37b7002 -r 263240f98c22 usr.sbin/sysinst/arch/sparc64/md.c
--- a/usr.sbin/sysinst/arch/sparc64/md.c        Wed Dec 14 15:36:52 2022 +0000
+++ b/usr.sbin/sysinst/arch/sparc64/md.c        Wed Dec 14 15:39:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.5.2.2 2022/02/02 04:25:36 msaitoh Exp $       */
+/*     $NetBSD: md.c,v 1.5.2.3 2022/12/14 15:39:46 snj Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -68,6 +68,8 @@
 bool
 md_get_info(struct install_partition_desc *install)
 {
+
+       set_default_sizemult(pm->diskdev, MEG, pm->sectorsize);
        return true;
 }
 



Home | Main Index | Thread Index | Old Index