Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 1998 21:54:17 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Steve Tracy <stevet@acs.stritch.edu>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: ActionTec FastNet pccard.conf entry 
Message-ID:  <199807030454.VAA04057@antipodes.cdrom.com>
In-Reply-To: Your message of "Wed, 01 Jul 1998 19:37:24 CDT." <Pine.OSF.3.96.980701192828.4990B-100000@acs.stritch.edu> 

index | next in thread | previous in thread | raw e-mail

> Hello, 
> 
> I'm trying to get an ActionTec FastNet Ethernet Adapter (PCMCIA) to work
> with FreeBSD 2.2.6 but I'm having trouble figuring out what to put in the
> pccard.conf file.  The network card is supposed to be a n NE2000
> compatible card.  The pccardc dumpcis for the card is:

With this CIS, it's not going to look much like an NE2000 I don't 
think.  Where did your information come from - the sales droid, or the 
box?

> 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

A 16-byte I/O window, as well as 1K and 16K memory windows - this is 
not an NE2000.

> Tuple #7, code = 0x0 (Null tuple), length = 9
>     000:  57 42 20 4c 41 4e 20 20 ff
> Tuple #8, code = 0x22 (Functional EXT), length = 8
>     000:  04 00 20 e0 0f b1 87 ff
> 	Voice services available:
> Tuple #9, code = 0x14 (No link), length = 0
> Tuple #10, code = 0xff (Terminator), length = 0
> 2 slots found
> 
> --------------------------------------
> 
> I've used the pccard.conf.sample file and added the following with no
> other changes to the file:
> 
> card "PMX   " "PE-200"
> 	config 0x1 "ed0" 13 0x10
> 	insert echo ActionTec PCMCIA Ethernet inserted
> 	insert /etc/pccard_ether ed0
> 	remove echo ActionTec PCMCIA Ethernet removed
> 	remove /sbin/ifconfig ed0 delete
> 
> 
> When I insert the card, I get a message saying:
> 
> Jul 1 18:35:22 myname /kernel: Card inserted, slot 0
> Jul 1 18:35:27 myname pccardd[45]: Resource allocation failure for PMX

There's a bug in the code that will prevent it from successfully 
allocating a window for the 1K requested in the configuration entry.  8(

> Does anyone have any hints or any information that I could look into?  I'm
> not at all sure about the entry I added as this is the first time that
> I've added one, so I wouldn't be surprised if I've overlooked something
> obvious to most.  Any help would be appreciated.

I don't think that this card is going to work, sorry.  8(

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message


help

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