From owner-freebsd-mobile Fri Oct 31 00:18:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA20767 for mobile-outgoing; Fri, 31 Oct 1997 00:18:16 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from chuck.schiele-ct.de (chuck.schiele-ct.de [193.141.27.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA20761 for ; Fri, 31 Oct 1997 00:18:12 -0800 (PST) (envelope-from br@schiele-ct.de) Received: from schiele-ct.de (localhost.schiele-ct.de [127.0.0.1]) by chuck.schiele-ct.de (8.8.5/8.8.5) with ESMTP id JAA06594; Fri, 31 Oct 1997 09:21:11 +0100 (CET) Message-Id: <199710310821.JAA06594@chuck.schiele-ct.de> To: Nate Williams cc: freebsd-mobile@freebsd.org Subject: Re: PCCARD modem config? In-reply-to: Your message of "Thu, 30 Oct 1997 17:27:43 MST." <199710310027.RAA21621@rocky.mt.sri.com> Date: Fri, 31 Oct 1997 09:21:11 +0100 From: Bernd Rosauer Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams: > # pccardc dumpcis > > If you aren't sure how to read it, send the output to the list and > someone will explain it. Thanks! I attach the dump below. > > The next point is how to choose the driver and the interrupt flag. > > In the kernel I configured sio0 at irq4 and sio1 at irq3. In > > /etc/pccard.conf.sample most entries for modems set the driver to > > sio2. Would that be ok for a TP560? > > Sure, but you need to choose the correct index which corresponds to > sio2, and a supported interrupt. There is no line telling me something about a port. For configuration index 0x31 the entrys say that the "Card decodes 10 address lines". Would that index make a good choice? Thanks a lot for your help! -Bernd ====================== code No link ignored Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x20 (Manufacturer ID), length = 4 000: 05 01 01 01 PCMCIA ID = 0x105, OEM ID = 0x101 Tuple #3, code = 0x15 (Version 1 info), length = 63 000: 04 01 45 4c 53 41 27 41 61 63 68 65 6e 27 47 65 010: 72 6d 61 6e 79 00 4d 69 63 72 6f 4c 69 6e 6b 20 020: 33 33 2e 36 4d 43 00 30 30 30 39 35 33 00 34 2e 030: 30 2e 39 00 00 00 00 00 00 00 00 00 00 00 ff Version = 4.1, Manuf = [ELSA'Aachen'Germany],card vers = [MicroLink 33.6MC] Addit. info = [000953],[4.0.9] Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 27 00 01 17 Reg len = 2, config register addr = 0x100, last config = 0x27 Registers: XXX-X--- Tuple #5, code = 0x1b (Configuration entry), length = 20 000: f0 41 9d 6e 4d 5d 25 36 05 eb 17 aa 60 f8 03 07 010: 70 b8 86 28 Config index = 0x30(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Continuous supply current: 2 x 10mA Max current average over 10 ms: 3 x 100mA Power down supply current: 1 x 10mA RDY/BSY scale Speed = 1.2 x 10 ms, scaled by 100 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #6, code = 0x1b (Configuration entry), length = 10 000: 31 18 aa 60 f8 02 07 70 b8 86 Config index = 0x31 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #7, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #8, code = 0x0 (Null tuple), length = 21 000: 00 00 00 00 00 70 a8 22 ff 00 ff ff ff ff ff ff 010: ff ff ff ff ff Tuple #9, code = 0x1b (Configuration entry), length = 10 000: 32 18 aa 60 e8 03 07 70 b8 86 Config index = 0x32 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #10, code = 0x1b (Configuration entry), length = 10 000: 33 18 aa 60 e8 02 07 70 b8 86 Config index = 0x33 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #11, code = 0x1b (Configuration entry), length = 6 000: 24 18 23 70 b8 86 Config index = 0x24 Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #12, code = 0x1b (Configuration entry), length = 10 000: 25 18 aa 60 bc 03 03 70 b8 86 Config index = 0x25 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3bc block length = 0x4 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #13, code = 0x1b (Configuration entry), length = 10 000: 26 18 aa 60 78 03 03 70 b8 86 Config index = 0x26 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x378 block length = 0x4 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #14, code = 0x1b (Configuration entry), length = 10 000: 27 18 aa 60 78 02 03 70 b8 86 Config index = 0x27 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x278 block length = 0x4 IRQ modes: Level, Pulse IRQs: 3 4 5 7 9 10 15 Tuple #15, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 7f Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #16, code = 0x22 (Functional EXT), length = 9 000: 01 1f 3f 00 02 00 00 02 00 Modem interface capabilities: Tuple #17, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 3f 1c 03 03 0f 06 00 00 b5 Data modem services available: Tuple #18, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 1f 00 00 00 b5 Tuple #19, code = 0xff (Terminator), length = 0 2 slots found