From owner-cvs-all Thu Sep 13 1:26:59 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 87CBF37B409; Thu, 13 Sep 2001 01:26:55 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8D8QtY18779; Thu, 13 Sep 2001 01:26:55 -0700 (PDT) (envelope-from imp) Message-Id: <200109130826.f8D8QtY18779@freefall.freebsd.org> From: Warner Losh Date: Thu, 13 Sep 2001 01:26:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pccard.c pcic.c pcic_pci.c pcicvar.h 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/09/13 01:26:55 PDT Modified files: sys/pccard pccard.c pcic.c pcic_pci.c pcicvar.h Log: "Hey Rocky, watch me eject this pccard outta my laptop!" "What, again? That NEVER works!" "This time for sure!" Minor overhaul of how we do interrupts for the pci interrupt routing case to cope with card ejection better (read: make it not hand on so many cards): o Reintroduce func_intr and func_arg and use the to store the interrupt handler to call. o Create a pcic_pci_func_intr to call the real interrupt handler iff the card hasn't been ejected. o Remove some checks in pcic_setup_intr now that it is used exclusively for isa routed interrupts. o Defer the eject event until later too, but make sure we can't do any client driver ISR calling in the interrum. o Add some simple code to make sure that we don't attach more than one child. This should fix pccardd starting twice problem (ala single user -> multi-user when you started pccardd by hand in SU). MFC: after jkh thinks I've put the crack pipe away. Revision Changes Path 1.137 +13 -1 src/sys/pccard/pccard.c 1.166 +1 -9 src/sys/pccard/pcic.c 1.97 +79 -16 src/sys/pccard/pcic_pci.c 1.27 +3 -1 src/sys/pccard/pcicvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message