Subject: CVS commit: syssrc/sys/dev
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 04/08/2002 15:20:52
Module Name:	syssrc
Committed By:	martin
Date:		Mon Apr  8 12:20:51 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: isac.c isic.c isic_l1.c isic_l1.h
	syssrc/sys/dev/isapnp: isic_isapnp_elsa_qs1i.c
	syssrc/sys/dev/pci: ifpci.c isic_pci.c
	syssrc/sys/dev/pcmcia: isic_pcmcia.c

Log Message:
Combine sc_enabled and sc_dying into one field sc_intr_valid, they are used
for the same purpose (ignoring invalid interrupts).

For cards that are not able to stop all interrupts (or we don't know a way
to do that in software, at least) run the clearirq callback even when
ignoring an interrupt because we are not enabled. Otherwise the card would
stop interrupting.

Reserve a driver specific callout handle and an int value in the generic
isic_softc to allow card drivers to implement fancy blinkenlights.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/ic/isac.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/dev/ic/isic.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/ic/isic_l1.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/ic/isic_l1.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/isapnp/isic_isapnp_elsa_qs1i.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/dev/pci/ifpci.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/pci/isic_pci.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/dev/pcmcia/isic_pcmcia.c

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