From owner-freebsd-mobile Tue Jan 21 17:30:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA00571 for mobile-outgoing; Tue, 21 Jan 1997 17:30:15 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA00566 for ; Tue, 21 Jan 1997 17:30:13 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id SAA23116; Tue, 21 Jan 1997 18:30:03 -0700 (MST) Date: Tue, 21 Jan 1997 18:30:03 -0700 (MST) Message-Id: <199701220130.SAA23116@rocky.mt.sri.com> From: Nate Williams To: Michael Smith Cc: nate@mt.sri.com (Nate Williams), mobile@freebsd.org Subject: Re: What PCMCIA ethernet card supported/recommended? In-Reply-To: <199701220104.LAA10230@genesis.atrad.adelaide.edu.au> References: <199701220059.RAA22967@rocky.mt.sri.com> <199701220104.LAA10230@genesis.atrad.adelaide.edu.au> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Avoid 'combo' modem/ether cards; they're not supported (and would be a > > > royal pain in the rear to support, in fact). > > > > Actually, I've been looking at the code recently, and most of the code > > is already sutup to have multiple-drivers/card, so it's less hard than I > > originally thought. > > Hmm; how does one go about demuxing the interrupt? (With the price tag > on the PCCARD spec, I'm really forced to guess and infer on stuff > like this 8( ) That's the fun part. Since the interrupt handler occurs in the pccard code (pcintr()), one has to determine which 'device' generated it. I have the spec., but I haven't looked at it closely, but there's gotta be a way. [Digging out my spec.] Hmm, nothing obvious jumps out at me, but I suspect that a 'device' sets a big in one of the CIS-Tuples that said it generated the IRQ. But, I could be completely out to lunch. :) Nate