pccardd: No free configuration for card

Jan Pechanec jp at devnull.cz
Thu May 6 15:48:44 PDT 2004


	Hi, I'm testing two 16-bit ethernet cards SMC
8041TX-10/100-PC-Card-V2 in Soekris 4521 box. Using 4.9-RELEASE-p7
with ed driver in the kernel. I added a new section to
/etc/pccard.conf:

card "SMC" "8041TX-10/100-PC-Card-V2"
        config  auto "ed" ?
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop

	and the card works fine, but the 2nd card is not accepted:

May  6 23:06:34 openrouter pccardd[365]: No free configuration for card SMC

	I'm looking into the code for pccardd and it seems to me that
"Found existing driver" message from assign_driver() should appear (I
increased the debug level) when I insert the 2nd card, but it doesn't.
Any help, please? Full console output follows:

root at openrouter.idc.cz:~# pccard: card inserted, slot 0
May  7 00:32:09 openrouter pccardd[547]: Card "SMC"("8041TX-10/100-PC-Card-V2") [] [[none]] matched "SMC" ("8041TX-10/100-PC-Card-V2") [(null)] [(null)]
May  7 00:32:09 openrouter pccardd[547]: Using I/O addr 0x240, size 32
May  7 00:32:09 openrouter pccardd[547]: Setting config reg at offs 0x3f8 to 0x60, Reset time = 50 ms
May  7 00:32:14 openrouter pccaredd[547]: Assignidng I/O window 0,0 start 0x240, si ze 0x20 flags 0xa7
tMay  7 00:32:14  openrouter pccarpdd[547]: Assign oed-1, io 0x240-0rx25f, mem 0x0, 0t bytes, irq 10,  flag0s 0x240-0x25f irq 10 slot 0 on pccard0
ed0: address 00:04:e2:a3:26:25, type NE2000 (16 bit)
May  7 00:32:14 openrouter pccardd[547]: ed0: SMC (8041TX-10/100-PC-Card-V2) inserted.
pccard: card inserted, slot 1
May  7 00:32:46 openrouter pccardd[547]:CCard "SMC"("8041TX-10/100-PC-Card-V2") [] [[none]] matched "SMC" ("8041TX-10/100-PC-Card-V2") [(null)] [(null)]
May  7 00:32:46 openrouter pccardd[547]: No free configuration for card SMC


	pccardc dumpcis:

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  49 00 ff
        Common memory device information:
                Device number 1, type EEPROM, WPS = ON
                Speed = 250nS, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 33
    000:  04 01 53 4d 43 00 38 30 34 31 54 58 2d 31 30 2f
    010:  31 30 30 2d 50 43 2d 43 61 72 64 2d 56 32 00 00
    020:  ff
        Version = 4.1, Manuf = [SMC], card vers =
[8041TX-10/100-PC-Card-V2]
        Addit. info = []
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  bf 01 41 80
        PCMCIA ID = 0x1bf, OEM ID = 0x8041
Tuple #4, code = 0x1a (Configuration map), length = 5
    000:  01 27 f8 03 03
        Reg len = 2, config register addr = 0x3f8, last config = 0x27
        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 fc
    010:  be
        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:  2 3 4 5 6 7 9 10 11 12 13 15
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  20 08 ca 60 20 03 1f
        Config index = 0x20
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x320 block length = 0x20
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  21 08 ca 60 40 03 1f
        Config index = 0x21
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x340 block length = 0x20
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  22 08 ca 60 60 03 1f
        Config index = 0x22
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x360 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  23 08 ca 60 80 02 1f
        Config index = 0x23
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x280 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  24 08 ca 60 60 02 1f
        Config index = 0x24
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x260 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  25 08 ca 60 40 02 1f
        Config index = 0x25
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x240 block length = 0x20
Tuple #12, code = 0x1b (Configuration entry), length = 7
    000:  26 08 ca 60 20 02 1f
        Config index = 0x26
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x220 block length = 0x20
Tuple #13, code = 0x1b (Configuration entry), length = 7
    000:  27 08 ca 60 00 02 1f
        Config index = 0x27
        Card decodes 10 address lines, limited 8/16 Bit I/O
                I/O address # 1: block start = 0x200 block length = 0x20
Tuple #14, code = 0x21 (Functional ID), length = 2
    000:  06 00
        Network/LAN adapter
Tuple #15, code = 0x14 (No link), length = 0
Tuple #16, code = 0xff (Terminator), length = 0




	thanks, Jan.

-- 
Jan Pechanec <jp (at) devnull (dot) cz>



More information about the freebsd-stable mailing list