Date: Fri, 24 Aug 2001 00:43:36 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pcic_pci.c Message-ID: <200108240743.f7O7haV66704@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2001/08/24 00:43:36 PDT
Modified files:
sys/pccard pcic_pci.c
Log:
Move code to shutdown the pcic_pci_shutdown. Call it on system
shutdown and also before we get going with the device initialization.
This may fix the hangs some people are seeing on warmboot. It appears
that some machines will reset the cardbus bridge on boot, while others
don't. So we turn off the card, and ack the interrupts (which likely
is a nop in the shutdown case since we're still fielding interrupts).
This should turn off the interrupts.
Since I don't have hardware that hangs on reboot, I'm committing this
without testing that aspect of the patch (it causes no harm on my
Dell).
Revision Changes Path
1.75 +26 -14 src/sys/pccard/pcic_pci.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108240743.f7O7haV66704>
