From owner-freebsd-mobile Wed Nov 18 18:05:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21873 for freebsd-mobile-outgoing; Wed, 18 Nov 1998 18:05:49 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21868 for ; Wed, 18 Nov 1998 18:05:45 -0800 (PST) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id AAA13111; Thu, 19 Nov 1998 00:05:00 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199811190205.AAA13111@roma.coe.ufrj.br> Subject: Re: strange behavious of two PCMCIA modem cards In-Reply-To: <364EF34C.446B@cs.strath.ac.uk> from Roger Hardiman at "Nov 15, 98 03:29:16 pm" To: roger@cs.strath.ac.uk (Roger Hardiman) Date: Thu, 19 Nov 1998 00:05:00 -0200 (EDT) Cc: mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org #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