From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 08:15:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FD0216A4CE for ; Tue, 19 Oct 2004 08:15:59 +0000 (GMT) Received: from hetzner.co.za (lfw.hetzner.co.za [196.7.18.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9831743D53 for ; Tue, 19 Oct 2004 08:15:58 +0000 (GMT) (envelope-from ianf@hetzner.co.za) Received: from localhost ([127.0.0.1]) by hetzner.co.za with esmtp (Exim 3.36 #1) id 1CJp9w-000Bqn-00 for current@freebsd.org; Tue, 19 Oct 2004 10:15:56 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Tue, 19 Oct 2004 10:15:56 +0200 Sender: ianf@hetzner.co.za Message-Id: Subject: pccard/cardbus question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 08:15:59 -0000 Hi I have a rather old laptop and an EN2216 card as well as one of those combo 56k modem/ethernet (3Com Megahertz 3CXEM556 BI) cards. The ACCTON EN2216 works under OLDCARD and I can get the modem part of the combo card, but not the EN2216, working under NEWCARD. With OLDCARD I get an interrupt storm from the pcic device and card ejections and inserts take an age to complete. I'd really like to get the ACCTON card working under NEWCARD, but all I get are the following: pccard1: (manufacturer=0xffffffff, product=0xffffffff) at function 0 pccard1: CIS info: ACCTON, EN2216-PCMCIA-ETHERNET, EN2216 I think that the CIS info needse to be added to if_ed_pccard.c, but I can't figure out how to do this. The full CIS info from this card is included. Can someone help? Ian -- Ian Freislich CIS: Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 00 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 49 00 ff Attribute memory device information: Device number 1, type EEPROM, WPS = ON Speed = 250nS, Memory block size = 512b, 1 units Tuple #3, code = 0x15 (Version 1 info), length = 44 000: 04 01 41 43 43 54 4f 4e 00 45 4e 32 32 31 36 2d 010: 50 43 4d 43 49 41 2d 45 54 48 45 52 4e 45 54 00 020: 45 4e 32 32 31 36 00 52 30 31 00 ff Version = 4.1, Manuf = [ACCTON], card vers = [EN2216-PCMCIA-ETHERNET] Addit. info = [EN2216],[R01] Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 24 f8 03 03 Reg len = 2, config register addr = 0x3f8, last config = 0x24 Registers: XX------ Tuple #5, code = 0x1b (Configuration entry), length = 17 000: e0 81 1d 3f 55 4d 5d 06 86 46 26 fc 24 65 30 ff 010: ff Config index = 0x20(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Continuous supply current: 1 x 100mA Max current average over 1 second: 1 x 100mA, ext = 0x46 Max current average over 10 ms: 2 x 100mA Wait scale Speed = 1.5 x 10 us Card decodes 5 address lines, full 8/16 Bit I/O IRQ modes: Level IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 20 08 ca 60 00 03 1f Config index = 0x20 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x20 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 21 08 ca 60 20 03 1f Config index = 0x21 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 22 08 ca 60 40 03 1f Config index = 0x22 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 23 08 ca 60 60 03 1f Config index = 0x23 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x360 block length = 0x20 Tuple #10, code = 0x14 (No link), length = 0 Tuple #11, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #12, code = 0xff (Terminator), length = 0