From owner-cvs-all Fri Aug 24 0:43:43 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C7F737B40F; Fri, 24 Aug 2001 00:43:36 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7O7haV66704; Fri, 24 Aug 2001 00:43:36 -0700 (PDT) (envelope-from imp) Message-Id: <200108240743.f7O7haV66704@freefall.freebsd.org> From: Warner Losh Date: Fri, 24 Aug 2001 00:43:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pcic_pci.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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