From owner-freebsd-tokenring Wed Feb 27 4:18: 7 2002 Delivered-To: freebsd-tokenring@freebsd.org Received: from luke.mosina.com.au (luke.mosina.com.au [202.7.88.54]) by hub.freebsd.org (Postfix) with ESMTP id 0705937B402 for ; Wed, 27 Feb 2002 04:17:57 -0800 (PST) Received: from mosina.com.au (localhost.home.mosina.com.au [127.0.0.1]) by luke.mosina.com.au (8.11.3/8.11.3) with SMTP id g1RCHmH37282 for ; Wed, 27 Feb 2002 23:17:48 +1100 (EST) (envelope-from andrew@mosina.com.au) Received: from 194.69.198.40 (SquirrelMail authenticated user abarnes) by webmail.mosina.com.au with HTTP; Wed, 27 Feb 2002 23:17:48 +1100 (EST) Message-ID: <44442.194.69.198.40.1014812268.squirrel@webmail.mosina.com.au> Date: Wed, 27 Feb 2002 23:17:48 +1100 (EST) Subject: pccard.conf - setting io and mem and irq From: "Andrew Barnes" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Reply-To: andrew@mosina.com.au X-Mailer: SquirrelMail (version 1.2.4) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Guys, Sorry about the cross-post. Trying to get as much coverage as possible. To begin with, let me say - FreeBSD v4.5 on a Dell Latitude C-610 is absolutely AWESOME!!! Regretfully though, I haven't managed to configure the built-in modem as yet... but that's not a pressing issue as yet, as I have a spare Xircom CEM56 Combo card configured for modem use - so I'm going to work on that one! My problem however is this. My LAN here is a Token Ring LAN :-( Everyone is telling me that Token Ring for PCMCIA adapters is NOT do-able as yet. I'm using an IBM Turbo 16/4 Token-Ring PC Card 2 I'm hoping that someone out there might be able to point me right direction for the following: 1. I have compiled installed and loaded the TTR Kernel Model. Has anyone got this working for PCMCIA devices yet? If not, and someone needs/wants me to test their code out on my laptop, please let me know :-) 2. Even if the Token Ring support is not happening yet, as a matter of principal, I want to get the IBM Token Ring PCMCIA adapter at least loaded on startup. I'm having problems allocating the IRQ, the I/O range and Mem range: Here's some details for you all. I hope that perhaps with this information, you/we/I/someone might be able to get the Token Ring PCMCIA Card working properly! Many thanks, Andrew Barnes Card: IBM Turbo 16/4 Token-Ring PC Card 2 * From Win2k Pro I have the card configured with the following: IRQ = 10 I/O Range = 0FFC-0FFF Mem Range = 000DC000-000DDFFF Excert from /etc/default/pccard.conf ============================== io 0x240-0x360 irq 3 5 10 11 15 memory 0xd4000 96k ============================== My /etc/pccard.conf contains: ============================== # Xircom CreditCard Ethernet 10/100 + modem (Ethernet part) (CEM56) card "Xircom" "CreditCard Ethernet 10/100 + Modem 56" #-# config 0x27 "xe" ? config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # IBM Token Ring Card card "IBM" "TOKEN RING" config 0x20 "ttr" 10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ============================== My /etc/rc.conf contains: ============================== #-# PC Card Services pccard_enable="YES" pccard_beep="2" pccard_ifconfig="inet 172.16.0.5 netmask 255.255.255.0" ============================== Output of "pccardc dumpcis" ============================== Configuration data for card in slot 0 Tuple #1, code 0x1 *Common memory descriptor), length = 5 000: 19 02 d9 4a ff Common memory device information: Device number 1, type Mask ROM, WPS = ON Speed = 250nS, Memory block size = 9Kb, 1 units Device number 2, type Function specific, WPS = ON Speed = 250nS, Memory block size = 9Kb, 8 units Tuple #2, code 0x15 (Version 1 info), length = 38 000: 04 01 49 42 4d 00 54 4f 4b 45 4e 20 52 49 4e 47 010: 00 33 34 4c 31 34 39 39 00 42 33 45 4e 49 50 53 020: 4b 4a 52 54 00 ff Version = 4.1, Manuf = [IBM], card vers = [TOKEN RING] Addit. info = [3xxxxx9],[BxxxxxxxxxxT] Tuple #3, code 0x1a (Configuration map), length = 6 000: 01 23 00 08 0b ff Reg len = 2, config register addr = 0x800, last config = 0x23 Registers: XX-X---- 1 bytes in subtuples Tuple #4, code = 0x1b (Configuration entry), length = 20 000: e0 81 7d 11 55 36 fc 0b 22 30 ff ff d0 20 00 20 010: 0d 20 0d ff Config index = 0x20(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 100mA Wait scale Speed = 1.0 x 1 us Card decodes 2 address lines, 8 Bit I/O only IRQ modes: Level IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 45 15 Memory descriptor 1 blk length = 0x2000 card addr = 0xd2000 host addr = 0xd2000 Tuple #5, code = 0x1b (Configuration entry), length = 12 000: 21 60 51 20 00 20 0c 40 00 00 0d ff Config index = 0x21 Memory descriptor 1 blk length = 0x2000 card addr = 0xc2000 Memory descriptor 2 blk length = 0x4000 card addr = 0xd0000 Tuple #6, code = 0x1b (Configuration entry), length = 12 000: 22 60 51 20 00 20 0c 80 00 00 0d ff Config index = 0x22 Memory descriptor 1 blk length = 0x2000 card addr = 0xc2000 Memory descriptor 2 blk length = 0x8000 card addr = 0xd0000 Tuple #7, code = 0x1b (Configuration entry), length = 12 000: 23 60 51 20 00 20 0c 00 01 00 0d ff Config index = 0x23 Memory descriptor 1 blk length = 0x2000 card addr = 0xc2000 Memory descriptor 2 blk length = 0x10000 card addr = 0xd0000 Tuple #8, code = 0x20 (Manufacturer ID), length = 5 000: a4 00 1e 00 ff PCMCIA ID = 0xa4, OEM ID = 0x1e Tuple #9, code = 0x21 (Functional ID), length = 3 000: 06 03 ff Network/LAN adapter - POST initialize - Card has ROM Tuple #10, code = 0x22 (Functional EXT), length = 3 000: 01 03 ff Network technology: Token Ring Tuple #11, code = 0x22 (Functional EXT), length = 6 000: 02 00 24 f4 00 ff Network speed: 16 Mb/sec Tuple #12, code = 0x22 (Functional EXT), length = 6 000: 02 00 09 3d 00 ff Network speed: 4 Mb/sec Tuple #13, code = 0x22 (Functional EXT), length = 3 000: 03 01 ff Network media: UTP Tuple #14, code = 0x22 (Functional EXT), length = 3 000: 03 02 ff Network media: STP Tuple #15, code = 0x22 (Functional EXT), length = 8 000: 04 06 4d 4f a8 aa 40 00 Network node ID: 3d 4f a8 xx xx xx Tuple #16, code = 0x14 (No link), length = 0 Tuple #17, code = 0x10 (Checksum), length = 6 000: 52 ff ae 00 db ff Checksum from offset 65362, length 174, value is 0xdb Tuple #18, code = 0xff (Terminator), length = 0 2 slots found ============================== -- Andrew Barnes Email: andrew@mosina.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message