Subject: Re: having ethernet problems
To: Nyef <nyef@softhome.net>
From: Tony Mantler <nicoya@apia.dhs.org>
List: port-mac68k
Date: 09/14/2000 21:55:07
At 9:14 PM -0500 9/14/2000, Nyef wrote:
>On Wed, 13 Sep 2000, Tony Mantler wrote:
>
>> I wrote support in Linux/Mac68k for the Cabletron E6100 (I think that's the
>> model) NuBus card. It should still be hiding in the sources somewhere (like
>> drivers/net/daynaport.c).
>
>I can't seem to find Linux/Mac68k source in any form other than
>diffs. Am I looking in the wrong place, or is that the only form it's
>distributed in?

:pserver:anonymous@cvs.mac.linux-m68k.org:/var/local/cvsroot
pw: anonymous

HEAD branch for unstable, linux-2_2 for the 2.2 branch. There used to be
cvsweb, but I don't think it's there anymore.

>> Some things to note:
>>
>> Memory starts at slot+0x0, registers start at slot+0x90000.
>
>Okay, this is not the card I have. Mine doesn't have memory there.
>
>More info on the card I have:
>
>The card thinks of itself as a "DNI Ethernet Card".
>
>I managed to find 32k of memory starting at 0x10000, and I believe there's
>another 32k of memory somewhere on the card (it has two M5M5256-85 chips,
>which are 32kx8 SRAM). I think they're both mapped, but
>non-contiguously. Either that, or the area that is mapped is aliased later
>on in the slot's address space.

Weird.


>Unfortunately, I don't know where the registers are (the kernel currently
>assumes that they are at 0x10000, which is where the RAM is).
>
>Any suggestions for finding out where the registers are?

Poke around randomly in slot space? They probably spaced everything at
convinient 1 meg intervals. Make sure to try writing to the address, not
just reading.

Alternatley, you can use Slots to narrow your search somewhat. Reading an
ASM dump of the driver should also yield clues.


Another interesting thing I found about the E6100 is that it appears as
though they put the media selection registers (maybe, I dunno exactly what
they are) on the odd bytes in the NuBus config rom space. Those guys were
really smoking the wrong stuff when they designed this board. There was
also a lot of weird crap that didn't seem to be anything in particular
aliased in a few places on the card.


Cheers - Tony 'Nicoya' Mantler :)


--
Tony "Nicoya" Mantler - Renaissance Nerd Extraordinaire - nicoya@apia.dhs.org
Winnipeg, Manitoba, Canada           --           http://nicoya.feline.pp.se/