]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the so-called "half-baked-probe" code that I wrote a long time ago
authorimp <imp@FreeBSD.org>
Thu, 16 Aug 2001 17:30:55 +0000 (17:30 +0000)
committerimp <imp@FreeBSD.org>
Thu, 16 Aug 2001 17:30:55 +0000 (17:30 +0000)
commitc0669fbb6c5ec5393c0345765ef15a7cc46732ce
tree9487aaac9eb4ef4601003c350cb6ef968f3cff73
parent6599cbcf86427906dcc46f66e6e48d6d694f9a23
Fix the so-called "half-baked-probe" code that I wrote a long time ago
to properly clear the interrupt register on the no error case.  Also,
set the mcr register to zero when we find we can't support the chip.

This fixes the hang on sio driver attach problem in the new pci pccard
code that some people have reported.  At least on my machine.  I'd
like to get this into 4.4.

Submitted by: bde
PR: kern/29742

MFC after: 1 day
sys/dev/sio/sio.c
sys/isa/sio.c