Source-Changes-HG archive

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

[src/netbsd-2]: src/sys/arch/alpha/pci Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/708838bf5983
branches:  netbsd-2
changeset: 564424:708838bf5983
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Feb 26 21:43:53 2006 +0000

description:
Pull up following revision(s) (requested by mhitch in ticket #10320):
        sys/arch/alpha/pci/pci_6600.c: revision 1.14
Bad Jason!  Fix interrupt event counter attach typo.  Only the last interrupt
was getting an event counter, and none of the dec_6600 interrupts were
getting counted.

diffstat:

 sys/arch/alpha/pci/pci_6600.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 31f7209fe92f -r 708838bf5983 sys/arch/alpha/pci/pci_6600.c
--- a/sys/arch/alpha/pci/pci_6600.c     Sun Feb 26 21:39:36 2006 +0000
+++ b/sys/arch/alpha/pci/pci_6600.c     Sun Feb 26 21:43:53 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_6600.c,v 1.10.12.1 2005/05/11 17:19:36 riz Exp $ */
+/* $NetBSD: pci_6600.c,v 1.10.12.2 2006/02/26 21:43:53 riz Exp $ */
 
 /*-
  * Copyright (c) 1999 by Ross Harvey.  All rights reserved.
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pci_6600.c,v 1.10.12.1 2005/05/11 17:19:36 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_6600.c,v 1.10.12.2 2006/02/26 21:43:53 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -129,7 +129,7 @@
                        cp = alpha_shared_intr_string(dec_6600_pci_intr, i);
                        sprintf(cp, "irq %d", i);
                        evcnt_attach_dynamic(alpha_shared_intr_evcnt(
-                           dec_6600_pci_intr, 1), EVCNT_TYPE_INTR, NULL,
+                           dec_6600_pci_intr, i), EVCNT_TYPE_INTR, NULL,
                            "dec_6600", cp);
                }
 #if NSIO



Home | Main Index | Thread Index | Old Index