Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Gavan Fantom <gavan@netbsd.org>
List: source-changes
Date: 11/24/2007 02:13:49
Module Name:	src
Committed By:	gavan
Date:		Sat Nov 24 02:13:49 UTC 2007

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

Log Message:
Be paranoid about disabling interrupts and acknowledging any pending
interrupts while attaching uhci. Fixes recent problems with uvm_fault
during uhci attach, which appear to be caused by a pending interrupt
left over from the device while it was operating in legacy support mode
under the control of the BIOS.

Patch by joerg@ because his was better than mine.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/sys/dev/pci/uhci_pci.c

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