Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/arch/sparc/sparc Pull up revision 1.207 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/a479af4b2919
branches:  netbsd-2-0
changeset: 561225:a479af4b2919
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 30 11:54:06 2004 +0000

description:
Pull up revision 1.207 (requested by tsutsui in ticket #423):
Increase buffer size for s[dt]-targets PROM property
otherwise some machines (including my SS1+) with old PROM fails to get it.

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5f3936aeb279 -r a479af4b2919 sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Sun May 30 11:51:51 2004 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Sun May 30 11:54:06 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.203 2004/03/17 17:04:59 pk Exp $ */
+/*     $NetBSD: autoconf.c,v 1.203.2.1 2004/05/30 11:54:06 tron Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.203 2004/03/17 17:04:59 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.203.2.1 2004/05/30 11:54:06 tron Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -842,7 +842,7 @@
        int *map;
 {
        int i;
-       char propval[8+1];
+       char propval[8+2];
 
        if (!CPU_ISSUN4 && prom_version() < 2) {
                /*



Home | Main Index | Thread Index | Old Index