Subject: Re: RPTI EP401 PCMCIA ethernet nic
To: None <port-i386@NetBSD.ORG>
From: Laine Stump <laine@MorningStar.Com>
List: port-i386
Date: 07/01/1998 10:01:41
Thilo.Manske@HEH.Uni-Oldenburg.DE (Thilo Manske) writes:

>This might be interesting for "low-budget laptop users" [like me ;-)] :

>I´ve got an old IBM TP360CSE an bought the cheapest PCMCIA ethernet NIC
>I found (I paid ~95DM). It was labeled "LinkPro TL-5200" but turned out
>to be an "RPTI EP401":

>pcmcia1: CIS info: RPTI, EP401 Ethernet NE2000 Combatible, ,
>pcmcia1: Manufacturer code 0xffffffff, product 0xffffffff

>After a few experiments and compiling dozens of kernels I got it work:

Lucky you! I have an RPTI EP400, and making a similar change only got me
as far as detecting the card, but having it show up with a MAC address
of 00:00:00:00:00:00 (and no lights come on on the transceiver either).
What are the 6th and 7th (0 and -1 in this case) parameters used for
anyway?

>The addition of the lines

>    { "RPTI EP401",
>      PCMCIA_MANUFACTURER_INVALID, PCMCIA_PRODUCT_INVALID,
>      "RPTI","EP401 Ethernet NE2000 Compatible", 0,
>      -1, { 0x00, 0x40, 0x95 } },

>to the ne2000devs array in (...)/sys/dev/pcmcia/if_ne_pcmcia.c
>made the kernel to find and enable the card.
>(enet_maddr=-1 may be just a hack, but it works for me.)