From owner-freebsd-mobile Sun Nov 2 20:23:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA04478 for mobile-outgoing; Sun, 2 Nov 1997 20:23:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA04464 for ; Sun, 2 Nov 1997 20:23:53 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id VAA13132; Sun, 2 Nov 1997 21:22:30 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id VAA05299; Sun, 2 Nov 1997 21:22:28 -0700 (MST) Date: Sun, 2 Nov 1997 21:22:28 -0700 (MST) Message-Id: <199711030422.VAA05299@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: Nate Williams , Guido van Rooij , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030314.NAA01109@word.smith.net.au> References: <199711030139.SAA04709@rocky.mt.sri.com> <199711030314.NAA01109@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Remember chaps, the IRQ from the CIS is complete rubbish. PCCARDs > > > only have *one* interrupt pin; it's the routing in the pcic that does > > > the work. > > > > Yes, but the current FreeBSD code tells the driver/card that it's using > > the specific interrupt, so it doesn't always work correctly. We should > > tell the driver card that it's using an 'acceptable' interrupt, but use > > whatever one that is free, but we don't. > > Uh, I don't think we are on the same wavelength. Consider: > > device sio1 at isa? port "IO_COM2" tty irq3 vector siointr > > # Megahertz XJ4336 > card "Megahertz" "XJ4336-CC4336" > config 0x21 "sio1" 10 > insert echo Modem arrives... > remove echo Modem departs... > > Tuple #6, code = 0x1b (Configuration entry), length = 7 > 000: 21 08 aa 60 f8 02 07 > Config index = 0x21 > Card decodes 10 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x2f8 block length = 0x8 You left out the part of the 'supported IRQs' or whatever it says. > This *works*. To me, it is clear that the IRQ parameter from the > pccard.conf entry is being propagated to the sio probe/attach. Yes, but in the CIS tuple, some cards claim to support only some interrupts, so if you use a different interrupt for that index then they don't work. Nate