From owner-freebsd-mobile Sat Apr 20 15:33:05 1996 Return-Path: owner-mobile Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA06281 for mobile-outgoing; Sat, 20 Apr 1996 15:33:05 -0700 (PDT) Received: from tdc.on.ca (tdc.on.ca [204.92.242.39]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA06266 for ; Sat, 20 Apr 1996 15:33:00 -0700 (PDT) Received: (from martin@localhost) by tdc.on.ca (8.7.5/8.6.6) id SAA00371; Sat, 20 Apr 1996 18:31:20 -0400 (EDT) From: Martin Renters Message-Id: <199604202231.SAA00371@tdc.on.ca> Subject: Re: [PCMCIA] pccard-960414 To: freebsd-mobile@freebsd.org, hosokawa@mt.cs.keio.ac.jp Date: Sat, 20 Apr 1996 18:31:20 -0400 (EDT) In-Reply-To: <199604140724.QAA05775@frig.mt.cs.keio.ac.jp> from "HOSOKAWA Tatsumi" at Apr 14, 96 04:24:10 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just got my hands on a Megahertz CC/XJEM3288 Modem/Fax/Cell/Ethernet card. It has one of those SMC91Cxx ethernet devices on it, but the latest PCCARD code doesn't seem to want to work with it. (It finds the modem without any problems, and that seems to work) The output from pccardc dumpcis follows. It complains about not knowing what to do with codes 128, 129, 130, and Unknown. I put the sn0 line into my kernel config file and configured the card to use the irq and base addresses specified in the config file. In the /etc/pccard.conf file I put: config default "sn0" any config 0x23 "sio2" any When pccardd runs, it seems to try and assign 0x3f8 as the base address for the sn0 device. Any ideas as to what to try? Martin 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 = 0x15 (Version 1 info), length = 54 000: 04 01 4d 45 47 41 48 45 52 54 5a 00 43 43 2f 58 010: 4a 45 4d 33 32 38 38 00 44 41 54 41 2f 46 41 58 020: 2f 43 45 4c 4c 20 45 54 48 45 52 4e 45 54 20 4d 030: 4f 44 45 4d 00 ff Version = 4.1, Manuf = [MEGAHERTZ],card vers = [CC/XJEM3288] Addit. info = [DATA/FAX/CELL ETHERNET MODEM],[ÿ] Tuple #3, code = 0x1a (Configuration map), length = 5 000: 01 23 00 01 03 Reg len = 2, config register addr = 0x100, last config = 0x23 Registers: XX------ Tuple #4, code = 0x1b (Configuration entry), length = 16 000: f5 41 99 49 55 46 0e aa 60 f8 03 07 30 ff ff 28 Config index = 0x35(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 4 x 100mA Power down supply current: 1.2 x 100mA Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: Level IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #5, 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 Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 2d 08 aa 60 e8 03 07 Config index = 0x2d Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 23 08 aa 60 e8 02 07 Config index = 0x23 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 Tuple #8, code = 0x0 (Null tuple), length = 21 000: ff ff ff ff ff fe be fa ba ff f8 ff 00 00 00 0f 010: 00 fe 34 08 34 Tuple #9, code = 0x20 (Manufacturer ID), length = 4 000: 02 01 06 00 PCMCIA ID = 0x102, OEM ID = 0x6 Tuple #10, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #11, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 5c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #12, code = 0x22 (Functional EXT), length = 9 000: 01 1f 1f ff 03 00 ff 03 00 Modem interface capabilities: Tuple #13, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 3f 1c 03 03 0f 07 00 02 b5 Data modem services available: Tuple #14, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 0f 00 02 00 b5 Tuple #15, code = 0x22 (Functional EXT), length = 8 000: 23 06 00 0f 00 02 00 b5 Tuple #16, code = 0x0 (Null tuple), length = 7 000: 02 01 06 00 07 00 ff Tuple #17, code = 0x0 (Null tuple), length = 13 000: 30 30 30 30 38 36 30 36 46 41 41 30 ff Tuple #18, code = 0x14 (No link), length = 0 Tuple #19, code = 0xff (Terminator), length = 0 2 slots found