Subject: CVS commit: src/sys/arch/alpha
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/29/2005 04:06:20
Module Name:	src
Committed By:	thorpej
Date:		Tue Mar 29 04:06:20 UTC 2005

Modified Files:
	src/sys/arch/alpha/common: shared_intr.c
	src/sys/arch/alpha/include: intr.h
	src/sys/arch/alpha/pci: pci_1000.c pci_1000a.c pci_2100_a500.c
	    pci_550.c pci_6600.c pci_eb164.c pci_eb64plus.c pci_eb66.c
	    pci_kn20aa.c pci_kn300.c sio_pic.c

Log Message:
- Add a alpha_shared_intr_reset_strays() function that resets the stray
  interrupt counter for a given shared interrupt descriptor.
- When an interrupt is successfully handled, reset the strays counter,
  thus preventing a "slow leak" from eventually shutting off the interrupt
  vector.  Idea taken from pci_kn300.c (which was changed to use the new
  alpha_shared_intr_reset_strays() function).


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/alpha/common/shared_intr.c
cvs rdiff -r1.49 -r1.50 src/sys/arch/alpha/include/intr.h
cvs rdiff -r1.14 -r1.15 src/sys/arch/alpha/pci/pci_1000.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/alpha/pci/pci_1000a.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/alpha/pci/pci_2100_a500.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/alpha/pci/pci_550.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/alpha/pci/pci_6600.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/alpha/pci/pci_eb164.c \
    src/sys/arch/alpha/pci/sio_pic.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/alpha/pci/pci_eb64plus.c \
    src/sys/arch/alpha/pci/pci_eb66.c
cvs rdiff -r1.44 -r1.45 src/sys/arch/alpha/pci/pci_kn20aa.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/alpha/pci/pci_kn300.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.