Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 1999 17:38:35 -0500
From:      Greg Lehey <grog@mojave.sitaranetworks.com>
To:        "D. Rock" <rock@dead-end.net>, Warner Losh <imp@village.org>
Cc:        current@FreeBSD.ORG, mobile@FreeBSD.ORG
Subject:   Re: sio working
Message-ID:  <19991105173835.10766@mojave.sitaranetworks.com>
In-Reply-To: <3823540C.AE8ADA4F@dead-end.net>; from D. Rock on Fri, Nov 05, 1999 at 11:02:52PM %2B0100
References:  <199910230241.UAA26689@harmony.village.org> <3823540C.AE8ADA4F@dead-end.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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":
> <snip>
>
> 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: <TI PCI-1131 PCI-CardBus Bridge> at device 10.0 on pci0
> pcic-pci1: <TI PCI-1131 PCI-CardBus Bridge> at device 10.1 on pci0
> [...]
> pcic0: <VLSI 82C146> at irq 10 on isa0
> pccard0: <PC Card bus -- kludge version> on pcic0
> pccard1: <PC Card bus -- kludge version> on pcic0

I have:
Nov  5 17:15:19 mojave /kernel: pcic-pci0: <TI PCI-1131 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
Nov  5 17:15:19 mojave /kernel: pcic-pci1: <TI PCI-1131 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
...
Nov  5 17:15:19 mojave /kernel: pcic0: <VLSI 82C146> on isa0
Nov  5 17:15:19 mojave /kernel: pccard0: <PC Card bus -- kludge version> on pcic0
Nov  5 17:15:19 mojave /kernel: pccard1: <PC Card bus -- kludge version> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991105173835.10766>