Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2001 22:13:00 -0400
From:      The Babbler <bts@babbleon.org>
To:        "A. Smith" <tonys@loa.com>, freebsd-mobile@freebsd.org
Subject:   Re: 2 identical PCMCIA card setup
Message-ID:  <3ACA832C.31DD7EE6@babbleon.org>
References:  <00eb01c0b7cf$29d03c80$d72b82d0@cybertours.com> <3AC92B88.3E4A82DA@babbleon.org> <001f01c0bc42$3321f220$d72b82d0@cybertours.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Sorry I was being overly terse.

I wanted to know exactly what the pccard.conf entry looked like; eg,
this is the generic one for that card:

# Linksys EtherFast 10/100 PC Card (PCMPC100), model V2 and V3
card "Linksys" "/Ether[Ff]ast 10/100 PC Card \(PCMPC100.*\)/"
	config	auto "ed" ? 0x80000
	insert	/etc/pccard_ether $device start
	remove	/etc/pccard_ether $device stop

The "?" in the second field *should* cause IRQs to be assigned from the
"irq" line in pccard.conf, if you have one, so that different IRQs can
be assigned for the two cards.  However, you can still have a problem if
they both pick the same config options from the card; the "auto" should
do the right thing.

You can do

	pccardc dumpcis

to get the actual information from the card itself, and

	pccard enabler <options>

to try out different options on a on-off basis to try to get things
working; then you can patch whatever works into /etc/pccard.conf.

Hope this is helpful.  I've cc'ed the list in case anybody else wants to
add some insights.



"A. Smith" wrote:
> 
> I'm not sure what the flash ROM on the cards themselves are configured for,
> I would have to assume IRQ 3 where that is what the first card I insert is
> assigned, regardless of what i have in pccard.conf for free irq's. I do have
> two free IRQs, 3 5 and 11 at least are definately free. More than one config
> line in...
> ...the kernelconfig file?(No, I just have device     ed without additional
> configuration specs)
> ...the pccard.conf file? (Yes, I've tried a couple combinations, and none
> seem to make any difference)
> 
> hehe...I'm under the impression that problem lies in the card's settings, if
> I could flash the card to use irq 5 or some other such thing I might be OK,
> but I can't figure out how to do this, if its possible.
> >
> > The cards are configured with IRQ `?' ?
> > Do you have two free IRQs in the irq line in pccard.conf?
> > Do you have more than one config line for the device?
> >
> > > "A. Smith" wrote:
> > >
> > > Hello all -
> > >
> > > I've posted this issue to FreeBSD-stable, where someone made me aware
> > > of this mailing list. I have an IBM 365XD Thinkpad that I'm setting up
> > > as a router/firewall. I have 2 identical Linksys PCMPC100 PCMCIA NICs
> > > in it, and I'm having a difficult time getting both to work.
> > >
> > > Brief background: When inserting the cards after bootup, the first is
> > > recognized and given irq 3. The second card (regardless of which I use
> > > first or second) gives me the error: No free configurations available.
> > > The things that I've checked that might cause this are as follows:
> > > /usr/src/sys/i386/conf/KERNELFILE under network devices, I have a line
> > > 'device    ed' with no additional irq/port/iomem specifications (I
> > > need 2 ed devices). /etc/rc.conf has pccard_conf="/etc/pccard.conf",
> > > which does have configurations for my card(s). I can't figure out at
> > > this point what might keep the second card from having resources
> > > assigned; I know irq 5 is available; I'm not what memory addresses/etc
> > > are avaialable.
> > >
> > > Any thoughts would be greatly appreciated.
> > >
> > > Thanks!
> >
> > --
> > "Brian, the man from babble-on"              bts@babbleon.org
> > Brian T. Schellenberger                      http://www.babbleon.org
> > Support http://www.eff.org.                  Support decss defendents.
> > Support http://www.programming-freedom.org.  Boycott amazon.com.
> >

-- 
"Brian, the man from babble-on"              bts@babbleon.org
Brian T. Schellenberger                      http://www.babbleon.org
Support http://www.eff.org.                  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ACA832C.31DD7EE6>