Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 00:05:00 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@jonny.eng.br>
To:        roger@cs.strath.ac.uk (Roger Hardiman)
Cc:        mobile@FreeBSD.ORG
Subject:   Re: strange behavious of two PCMCIA modem cards
Message-ID:  <199811190205.AAA13111@roma.coe.ufrj.br>
In-Reply-To: <364EF34C.446B@cs.strath.ac.uk> from Roger Hardiman at "Nov 15, 98 03:29:16 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(Roger Hardiman)
// Hi,
// 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.

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.

					Jonny

--
Joao Carlos Mendes Luis            M.Sc. Student
jonny@jonny.eng.br                 Universidade Federal do Rio de Janeiro
"This .sig is not meant to be politically correct."

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?199811190205.AAA13111>