From owner-freebsd-mobile Thu Sep 24 12:10:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23152 for freebsd-mobile-outgoing; Thu, 24 Sep 1998 12:10:14 -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 MAA23086 for ; Thu, 24 Sep 1998 12:10:09 -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 NAA25525; Thu, 24 Sep 1998 13:09:43 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA00587; Thu, 24 Sep 1998 13:09:42 -0600 Date: Thu, 24 Sep 1998 13:09:42 -0600 Message-Id: <199809241909.NAA00587@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Joao Carlos Mendes Luis Cc: nate@mt.sri.com (Nate Williams), trost@cloud.rain.com, mobile@FreeBSD.ORG Subject: Re: Bug or feature ? My FreeBSD mobile experience. In-Reply-To: <199809241849.PAA16035@roma.coe.ufrj.br> References: <199809241705.LAA05726@mt.sri.com> <199809241849.PAA16035@roma.coe.ufrj.br> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > #define quoting(Nate Williams) > // > > // It's probably a bug in your PCIC where it doesn't send interrupts when a > // > > // card is inserted/removed like it's supposed to. > // > > // > > Is there an option to enable it ? > // > > // > Nope, but you can add code to put it back. > // > > // > Might put in a kernel config flag for that...? > // > // I'd rather see FreeBSD 'fixed' (if possible) so that it does the right > // thing and sets up the IRQ's properly. Either that or completely disable > // the insertion/removal interrupts since it's just wasting a (precious) > // IRQ for no reason. > > Do you know how other operating systems address that problem ? They probably initialize the PCIC correctly, so the interrupt is correctly generated. > If you do polling, where do you do it ? At the clock interrupt ? See my previous post on where I generate it, and yes it's related to the clock interrupt (as all timeouts are.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message