From owner-freebsd-mobile Fri Nov 5 14:20:21 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from pulsar.dead-end.net (pulsar.high-performance.com [216.15.153.82]) by hub.freebsd.org (Postfix) with ESMTP id A442D14BDE; Fri, 5 Nov 1999 14:20:10 -0800 (PST) (envelope-from rock@dead-end.net) Received: from mailto.dead-end.net (dead-end.net [216.15.153.82] (may be forged)) by pulsar.dead-end.net (8.9.3/8.9.3/DEAD-END/1999020900) with ESMTP id XAA89890; Fri, 5 Nov 1999 23:18:25 +0100 (CET) (envelope-from rock@dead-end.net) Received: from server.rock.net (p3E9C36C4.dip.t-dialin.net [62.156.54.196]) by mailto.dead-end.net (8.9.3/DEAD-END/1999102400-Customer) with ESMTP id XAA89874; Fri, 5 Nov 1999 23:18:15 +0100 (CET) (envelope-from rock@dead-end.net) Received: from dead-end.net (solaris.rock.net [172.23.7.10]) by server.rock.net (8.9.3/8.9.3/ROCK/1999053100) with ESMTP id XAA51772; Fri, 5 Nov 1999 23:02:53 +0100 (CET) (envelope-from rock@dead-end.net) Message-ID: <3823540C.AE8ADA4F@dead-end.net> Date: Fri, 05 Nov 1999 23:02:52 +0100 From: "D. Rock" X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.7 i86pc) X-Accept-Language: de, en MIME-Version: 1.0 To: Warner Losh Cc: current@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: Re: sio working References: <199910230241.UAA26689@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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": Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x15 (Version 1 info), length = 32 000: 04 01 49 6e 74 65 6c 6c 69 67 65 6e 74 00 50 43 010: 4d 43 49 41 20 46 41 58 2b 4d 4f 44 45 4d 00 ff Version = 4.1, Manuf = [Intelligent],card vers = [PCMCIA FAX+MODEM] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 00 02 01 00 PCMCIA ID = 0x200, OEM ID = 0x1 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 02 00 Serial port/modem Tuple #5, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 5c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #6, code = 0x22 (Functional EXT), length = 9 000: 05 1f 1f 00 04 00 00 04 00 Modem interface capabilities: Tuple #7, code = 0x22 (Functional EXT), length = 9 000: 06 1f 1f 00 04 00 00 04 00 Modem interface capabilities: Tuple #8, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 3f 1c 03 03 0f 07 00 01 b5 Data modem services available: Tuple #9, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 1f 00 02 00 b5 Tuple #10, code = 0x22 (Functional EXT), length = 8 000: 23 06 00 1f 00 02 00 b5 Tuple #11, code = 0x1a (Configuration map), length = 5 000: 01 27 80 ff 67 Reg len = 2, config register addr = 0xff80, last config = 0x27 Registers: XXX--XX- Tuple #12, code = 0x1b (Configuration entry), length = 19 000: cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03 07 f0 010: bc 86 28 Config index = 0xf(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 3.5 x 10mA Max current average over 1 second: 1 x 100mA, ext = 0x46 Max current average over 10 ms: 2 x 100mA Power down supply current: 4.5 x 1mA Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: Level, Pulse, Shared IRQs: 4 5 6 7 10 11 12 13 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #13, code = 0x1b (Configuration entry), length = 7 000: 17 08 aa 60 f8 02 07 Config index = 0x17 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 Tuple #14, code = 0x1b (Configuration entry), length = 7 000: 1f 08 aa 60 e8 03 07 Config index = 0x1f Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 Tuple #15, code = 0x1b (Configuration entry), length = 7 000: 27 08 aa 60 e8 02 07 Config index = 0x27 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 Tuple #16, code = 0xff (Terminator), length = 0 My entry in /etc/pccard.conf: io 0x240-0x400 irq 11 15 card "Intelligent" "PCMCIA FAX+MODEM" # config 0x0f "sio2" ? # config 0x17 "sio2" ? config 0x1f "sio2" ? # config 0x27 "sio2" ? 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. Here the remaining relevant lines from my configuration: controller card0 controller pcic0 at isa? irq 10 controller pcic1 at isa? irq 10 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 Any hints? Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message