Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 1996 01:27:36 -0800
From:      Paul Traina <pst@shockwave.com>
To:        nate@freebsd.org, hackers@freebsd.org
Subject:   need help with a PC CARD NE2000 clone...
Message-ID:  <199612090927.BAA00316@precipice.shockwave.com>

next in thread | raw e-mail | index | archive | help
I'm at IETF and I've just brought up -current on my laptop and am
running into a bit of a jam.  pccardd is recognising my card and
configuration, but then giving me an allocation error.

Sigh.  2 days getting FreeBSD installed and now my brain is totally fried.
Can you/anyone shed some light?

My .conf files reads:

card "PMX   " "PE-200"
	config	0x1 "ed0" 11
	ether	0xff0
	insert	echo PMX PE-200 Ethernet inserted
	insert	/etc/pccard_ether ed0
	remove	echo PMX PE-200 Ethernet removed
	remove	/etc/pccard_ether ed0 delete


Card manuf PMX   , vers PE-200
Configuration entries:
	Index code = 0x1, driver name = ed0
Insert commands are:
	echo PMX PE-200 Ethernet inserted
	/etc/pccard_ether ed0
Remove commands are:
	echo PMX PE-200 Ethernet removed
	/sbin/ifconfig ed0 delete

When I insert the card:

Code 240 not found
Code 240 not found
code Unknown ignored
Ether=00:20:e0:0e:25:02

cardd: Resource allocation failure for PMX   

I've set up ed0 and ed1 in my kernel config as follows (just in case the
card wanted to be at fixed places or have fixed irq's):

ed0 @ 300, irq 11
ed1 @ 310, irq 5

Here's what pccardc's dumpcis says.  Unfortunately, I don't know how to
interpret it.

Code 240 not found
Code 240 not found
code Unknown ignored
Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  dc 03 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 100nS, Memory block size = 32Kb, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  53 01 ff
	Attribute memory device information:
		Device number 1, type FLASH EEPROM, WPS = OFF
		Speed = 150nS, Memory block size = 2Kb, 1 units
Tuple #3, code = 0x21 (Functional ID), length = 2
    000:  06 03
	Network/LAN adapter - POST initialize - Card has ROM
Tuple #4, code = 0x15 (Version 1 info), length = 30
    000:  04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00
    010:  45 54 48 45 52 4e 45 54 00 52 30 31 00 ff
	Version = 4.1, Manuf = [PMX   ],card vers = [PE-200]
	Addit. info = [ETHERNET],[R01]
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 01 00 01 01
	Reg len = 2, config register addr = 0x100, last config = 0x1
	Registers: X------- 
Tuple #6, code = 0x1b (Configuration entry), length = 25
    000:  c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04
    010:  00 00 40 0d 40 40 00 40 0d
	Config index = 0x1(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x10
		I/O address # 2: block start = 0x310 block length = 0x10
		IRQ modes: Level
		IRQs:  4 5 10 11 12 13 14 15
	Memory descriptor 1
		 blk length = 0x400 card addr = 0x000 host addr = 0xd4000
	Memory descriptor 2
		 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000
Tuple #7, code = 0x0 (Null tuple), length = 9
    000:  57 42 20 4c 41 4e 20 20 ff
Tuple #8, code = 0x14 (No link), length = 0
Tuple #9, code = 0xff (Terminator), length = 0
2 slots found



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612090927.BAA00316>