pccard/cardbus question

From: Ian FREISLICH <if_at_hetzner.co.za>
Date: Tue, 19 Oct 2004 10:15:56 +0200
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: <unknown card> (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
Received on Tue Oct 19 2004 - 06:15:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC