Module Name: src
Committed By: bouyer
Date: Sat Feb 6 17:48:54 UTC 2010
Modified Files:
src/sys/arch/xen/xen: isa_machdep.c pciide_machdep.c
Log Message:
Enlarge temporary buffer, so that event counter's name is not truncated
for ioapic interrupts.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/xen/xen/isa_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/xen/xen/pciide_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xen/isa_machdep.c
diff -u src/sys/arch/xen/xen/isa_machdep.c:1.22 src/sys/arch/xen/xen/isa_machdep.c:1.23
--- src/sys/arch/xen/xen/isa_machdep.c:1.22 Wed Aug 19 15:05:01 2009
+++ src/sys/arch/xen/xen/isa_machdep.c Sat Feb 6 17:48:54 2010
@@ -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;
Index: src/sys/arch/xen/xen/pciide_machdep.c
diff -u src/sys/arch/xen/xen/pciide_machdep.c:1.16 src/sys/arch/xen/xen/pciide_machdep.c:1.17
--- src/sys/arch/xen/xen/pciide_machdep.c:1.16 Wed Jul 29 12:02:09 2009
+++ src/sys/arch/xen/xen/pciide_machdep.c Sat Feb 6 17:48:54 2010
@@ -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;