From owner-freebsd-current Tue Jan 18 22:59:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 2B7BF15166 for ; Tue, 18 Jan 2000 22:59:08 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id BAA78701; Wed, 19 Jan 2000 01:59:04 -0500 (EST) Date: Wed, 19 Jan 2000 01:59:04 -0500 (EST) From: "Matthew N. Dodd" To: Warner Losh Cc: current@FreeBSD.ORG Subject: Re: Problems with PCMCIA Cards In-Reply-To: <200001190653.XAA23572@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 18 Jan 2000, Warner Losh wrote: > Oops. Missed this part. The problem again is that the kernel doesn't > know about this. At least it knows it only to a point. It knows > which IRQs are in use, but it doesn't know if the pcic (or cardbus > bridge in compat mode) can route to a given free irq. Ok, I'm obviously missing something here... You mean the IRQs specified in /etc/pccard.conf are a complete crapshoot? We're pulling rabbits out of a hat? Jesus. How does Windows deal with this? Can the PCIC hardware be told to generate an interrupt? Can we use this during the device probe/attach to generate a list of IRQs that the PCIC can route to? Granted this is rather ugly but we can do this last and only test free IRQs and complain when we lack free ones but we should be able to at least get the kernel to bitch and moan when it can't figure things out rather than confusing people when their ethernet cards fail to function and stuff like that. > For cardbus bridges, we can at least ask the PCI BIOS, so much relief > will come there. For old pcic devices that aren't plug and play, we > have almost no hope... -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message