Subject: Re: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: source-changes
Date: 11/24/2007 16:50:18
On Sat, Nov 24, 2007 at 12:14:51AM -0500, Jared D. McNeill wrote:
> On Sat, 24 Nov 2007, Gavan Fantom wrote:
>> 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.
>
> I'm confused -- shouldn't interrupts still be disabled at this point?
They aren't disabled in hardware at this point, but there should be an
splhigh in place.
Joerg