From owner-freebsd-mobile Wed Nov 18 22:11:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15626 for freebsd-mobile-outgoing; Wed, 18 Nov 1998 22:11:24 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15616 for ; Wed, 18 Nov 1998 22:11:22 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA07267; Wed, 18 Nov 1998 23:10:46 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA02387; Wed, 18 Nov 1998 23:10:46 -0700 Date: Wed, 18 Nov 1998 23:10:46 -0700 Message-Id: <199811190610.XAA02387@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Joao Carlos Mendes Luis Cc: roger@cs.strath.ac.uk (Roger Hardiman), mobile@FreeBSD.ORG Subject: Re: strange behavious of two PCMCIA modem cards In-Reply-To: <199811190205.AAA13111@roma.coe.ufrj.br> References: <364EF34C.446B@cs.strath.ac.uk> <199811190205.AAA13111@roma.coe.ufrj.br> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > // 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