Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Enlarge temporary buffer, so that event cou...



details:   https://anonhg.NetBSD.org/src/rev/8450b2897468
branches:  trunk
changeset: 751517:8450b2897468
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Feb 06 17:48:54 2010 +0000

description:
Enlarge temporary buffer, so that event counter's name is not truncated
for ioapic interrupts.

diffstat:

 sys/arch/xen/xen/isa_machdep.c    |  6 +++---
 sys/arch/xen/xen/pciide_machdep.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 0ba3a17ff687 -r 8450b2897468 sys/arch/xen/xen/isa_machdep.c
--- a/sys/arch/xen/xen/isa_machdep.c    Sat Feb 06 14:09:25 2010 +0000
+++ b/sys/arch/xen/xen/isa_machdep.c    Sat Feb 06 17:48:54 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.c,v 1.22 2009/08/19 15:05:01 dyoung Exp $  */
+/*     $NetBSD: isa_machdep.c,v 1.23 2010/02/06 17:48:54 bouyer Exp $  */
 /*     NetBSD isa_machdep.c,v 1.11 2004/06/20 18:04:08 thorpej Exp     */
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.22 2009/08/19 15:05:01 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.23 2010/02/06 17:48:54 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -145,7 +145,7 @@
        int (*ih_fun)(void *), void *ih_arg)
 {
        int evtch;
-       char evname[8];
+       char evname[16];
        struct xen_intr_handle ih;
 #if NIOAPIC > 0
        struct ioapic_softc *pic = NULL;
diff -r 0ba3a17ff687 -r 8450b2897468 sys/arch/xen/xen/pciide_machdep.c
--- a/sys/arch/xen/xen/pciide_machdep.c Sat Feb 06 14:09:25 2010 +0000
+++ b/sys/arch/xen/xen/pciide_machdep.c Sat Feb 06 17:48:54 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide_machdep.c,v 1.16 2009/07/29 12:02:09 cegger Exp $       */
+/*     $NetBSD: pciide_machdep.c,v 1.17 2010/02/06 17:48:54 bouyer Exp $       */
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.16 2009/07/29 12:02:09 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.17 2010/02/06 17:48:54 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -67,7 +67,7 @@
        int (*func)(void *), void *arg)
 {
        struct pintrhand *ih;
-       char evname[8];
+       char evname[16];
         struct xen_intr_handle xenih;
 #if NIOAPIC > 0
        struct ioapic_softc *pic = NULL;



Home | Main Index | Thread Index | Old Index