NetBSD-Help archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PCMCIA ne2000 compatible Ethernet card driver



On Tue, Mar 18, 2008 at 10:42:39AM -0300, Javier Steinaker wrote:
> Hi again, and sorry for the delay.
> We (well, you, really) are more close to the solution.
> The card isn't working, but the kernel now shows:
> ne0 at pcmcia0 function 0: <PCMCIA LAN, Ethernet, A,
> 004743118001>
> ne0: can't match ethernet vendor code
> 
> I also tried to modify the line
> +product RELIA RE2408T                { "PCMCIA&spLAN", Ethernet",
> "A", NULL } Relia RE2408T ethernet adapter
> by
> +product RELIA RE2408T                { "PCMCIA&spLAN", Ethernet",
> "A", "004743118001" } Relia RE2408T ethernet adapter
> ... but the result is the same.
> 
> I think the solution is close to us, but... I cannot
> find it. Ideas?

I'm not sure it's closer than before. It couldn't find the ethernet address
while before it didn't even check it (if I read the code properly).

Can you add some printf() to ne_pcmcia_attach() to see what's going on ?
The interesting part if between again: and the last 'goto again'.
it should enter the (ne_dev->flags & NE2000DVF_DL10019) if, and
call ne_pcmcia_dl10019_get_enaddr(). Either ne_pcmcia_dl10019_get_enaddr()
didn't work, or it didn't return the mac address we expect.

You could also try changing {0x00, 0xc0, 0x0c} with {0xff,0xff,0xff} in
the PCMCIA_CIS_RELIA_RE2408T entry.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index