Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 23:10:46 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Joao Carlos Mendes Luis <jonny@jonny.eng.br>
Cc:        roger@cs.strath.ac.uk (Roger Hardiman), mobile@FreeBSD.ORG
Subject:   Re: strange behavious of two PCMCIA modem cards
Message-ID:  <199811190610.XAA02387@mt.sri.com>
In-Reply-To: <199811190205.AAA13111@roma.coe.ufrj.br>
References:  <364EF34C.446B@cs.strath.ac.uk> <199811190205.AAA13111@roma.coe.ufrj.br>

next in thread | previous in thread | raw e-mail | index | archive | help
> // I've got some strange results when hard coding IRQs for my PCMCIA cards.
> // 
> // I have two PCMCIA modem cards, both the same make and they
> // emulate a standard serial port.
> // 
> // I tried Hard Coding the IRQs in pccard.conf,
> //   card "Nokia Mobile Phones" "DTP-2 ver II"
> // 	config 0x20 "sio2" 10
> // 	config 0x20 "sio3" 11
> // 
> // and I compiled the kernel with SIO2 set to IRQ10 and SIO3 to IRQ11.
> // This worked on 2.2.5+PAO but on 3.0-RELEASE, sio2 worked fine
> // and sio3 worked but was "really slow" (like the IRQ was wrong).
> // 
> // Changing to
> //   card "Nokia Mobile Phones" "DTP-2 ver II"
> // 	config 0x20 "sio2" ?
> // 	config 0x20 "sio3" ?
> // and allowing the pccard software in 3.0-R to tell the sio driver
> // the 'actual irqs' fixed everything.
> // 
> // My question then is, why can I not hard code the IRQ.

My guess is that on 3.0 something changed in the way the interrupts are
being used, *OR* the probes have somehow awakened some part of your
hardware that is using the IRQ in question.

> Take a look at the output of pccardc dumpcis, and verify which are the
> valid interrupts for config 0x20.  Maybe irq 11 is not a valid one.
> You cannot chose irqs on the fly if the card does not support them.

Actually, the interrupts and the I/O ports the card's claim to use are
completely irrelevant since the PCIC controller can map them to be
anywhere.


Nate

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?199811190610.XAA02387>