From owner-freebsd-mobile Tue May 26 09:34:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA29177 for freebsd-mobile-outgoing; Tue, 26 May 1998 09:34:20 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29166 for ; Tue, 26 May 1998 09:34:16 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA21107; Tue, 26 May 1998 10:34:15 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA05627; Tue, 26 May 1998 10:34:13 -0600 Date: Tue, 26 May 1998 10:34:13 -0600 Message-Id: <199805261634.KAA05627@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Marso" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: hot swapping fails in current In-Reply-To: <19980526112046.A3058@marso.com> References: <19980526112046.A3058@marso.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Removed -current ] > Any reason why current as of three days ago would fail to notice the > addition or removal of PCMCIA cards, but properly configure them upon > boot-up? Yep, but that change was done *weeks* ago. revision 1.59 date: 1998/04/20 15:15:20; author: nate; state: Exp; lines: +4 -3 - Only poll the PCIC controller for insertion/removal events if the controller hasn't been assigned an IRQ. So, this means your PCIC controller is busted, and is 'wasting' an IRQ that doesn't work. The correct solution is to figure out why the IRQ isn't working, but the 'quick-n-dirty' fix is to re-enable the polling feature. Index: pcic.c =================================================================== RCS file: /data/FreeBSD/CVS/src/sys/pccard/pcic.c,v retrieving revision 1.59 retrieving revision 1.58 diff -u -r1.59 -r1.58 --- pcic.c 1998/04/20 15:15:20 1.59 +++ pcic.c 1998/04/15 17:46:55 1.58 @@ -795,7 +795,7 @@ pcic98_probe_end: } #endif /* PC98 */ - if (validslots && pcic_irq <= 0) + if (validslots) pcictimeout_ch = timeout(pcictimeout, 0, hz/2); return(validslots); } (White-space is hosed due to cut-n-paste.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message