Subject: PR/29903 CVS commit: [netbsd-1-6] src/sys/dev/pci
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 05/01/2005 10:06:02
The following reply was made to PR kern/29903; it has been noted by GNATS.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29903 CVS commit: [netbsd-1-6] src/sys/dev/pci
Date: Sun,  1 May 2005 10:05:55 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Sun May  1 10:05:55 UTC 2005
 
 Modified Files:
 	src/sys/dev/pci [netbsd-1-6]: if_wm.c
 
 Log Message:
 Pull up revision 1.102 (requested by scw in ticket #5761):
 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.9.4.9 -r1.9.4.10 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.