Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 04/26/2005 07:55:18
Module Name:	src
Committed By:	scw
Date:		Tue Apr 26 07:55:18 UTC 2005

Modified Files:
	src/sys/dev/pci: if_wm.c

Log Message:
In wm_stop():

 - Clear the interrupt mask to ensure the device cannot assert its
   interrupt line.
 - Clear sc->sc_icr to ensure wm_intr() makes no attempt to service any
   currently pending or shared interrupt.

This should address the problem reported in both PR/29903 and PR/22493.
(wm(4) is susceptible to crashing in wm_intr() when the interface is downed)


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sys/dev/pci/if_wm.c

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