From owner-freebsd-current Fri Nov 5 14:39:59 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 21ABB14D3D; Fri, 5 Nov 1999 14:39:45 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id JAA07098; Sat, 6 Nov 1999 09:09:13 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991105173835.10766@mojave.sitaranetworks.com> Date: Fri, 5 Nov 1999 17:38:35 -0500 From: Greg Lehey To: "D. Rock" , Warner Losh Cc: current@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: Re: sio working Reply-To: Greg Lehey References: <199910230241.UAA26689@harmony.village.org> <3823540C.AE8ADA4F@dead-end.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3823540C.AE8ADA4F@dead-end.net>; from D. Rock on Fri, Nov 05, 1999 at 11:02:52PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 5 November 1999 at 23:02:52 +0100, D. Rock wrote: > Warner Losh wrote: >> >> OK. I managed to get sio and ep working on the plane back from >> FreeBSDCon'99. There are some problems with card eject at the moment, >> but will be committing things to the tree shortly. >> >> Basically, I completely gutted the compatibilty layer and it became >> much easier. More later after I've had a chance to spend time with my >> wife and unwind from the drive back. > > I didn't have any luck using the sio driver with my card. > > Card info from "pccardc dumpcis": > > > card "Intelligent" "PCMCIA FAX+MODEM" > # config 0x0f "sio2" ? > # config 0x17 "sio2" ? > config 0x1f "sio2" ? > # config 0x27 "sio2" ? On my Dell Latitude CPi I have: device sio0 at isa? port IO_COM1 flags 0x90 irq 4 device sio1 at isa? port IO_COM2 irq 3 sio0 really exists; it seems that sio1 shouldn't be there, since I get the message Nov 5 17:15:39 mojave /kernel: devclass_alloc_unit: sio1 already exists, using next available unit number Nov 5 17:15:39 mojave /kernel: sio2 at port 0x2e8-0x2ef irq 5 slot 1 on pccard0 Nov 5 17:15:39 mojave /kernel: sio2: type 16550A Anyway, this configuration works: at least I can use it to dial in to a remote system. > I tried many different combinations. I disabled the onboard serial devices > in the BIOS and kernel, so config index 0xf could grap io port 0x3f8 with > irq 4 but the only thing I get is > sio2: configured irq -1071415680 not in bitmap of probed irqs 0 > > The irq number isn't always the same. It seems to be a pointer. Or junk. > Here the remaining relevant lines from my configuration: > controller card0 > controller pcic0 at isa? irq 10 > controller pcic1 at isa? irq 10 ISTR you should put card0 after pcic0 and pcic1. Also, I have no interrupts: device pcic0 at isa? device pcic1 at isa? controller card0 > Boot output: > pcic-pci0: at device 10.0 on pci0 > pcic-pci1: at device 10.1 on pci0 > [...] > pcic0: at irq 10 on isa0 > pccard0: on pcic0 > pccard1: on pcic0 I have: Nov 5 17:15:19 mojave /kernel: pcic-pci0: irq 11 at device 3.0 on pci0 Nov 5 17:15:19 mojave /kernel: pcic-pci1: irq 11 at device 3.1 on pci0 ... Nov 5 17:15:19 mojave /kernel: pcic0: on isa0 Nov 5 17:15:19 mojave /kernel: pccard0: on pcic0 Nov 5 17:15:19 mojave /kernel: pccard1: on pcic0 Nov 5 17:15:19 mojave /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0 Nov 5 17:15:19 mojave /kernel: sio0: type 16550A Nov 5 17:15:19 mojave /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message