Subject: Re: Ethernet problems
To: Allen Briggs <briggs@wasabisystems.com>
From: Nyef <nyef@softhome.net>
List: port-mac68k
Date: 01/20/2001 17:08:23
On Sat, 20 Jan 2001, Allen Briggs wrote:
> On Sat, Jan 20, 2001 at 03:25:20PM -0500, Nyef wrote:
> > The EtherPort IIN memory is laid out as word locations with long
> > alignment, which means writing new read_hdr(), ring_copy(), write_mbuf(),
> > and test_mem() functions for it.
>
> Bummer... I haven't looked at this stuff in a while. Is it possible to
> make this a property of the bus space? Or at least use function
> pointers for the read_hdr, ring_copy, etc.?
These already use function pointers (probably because other people have
come up against this sort of thing before).
> > I've hacked up the ae driver to send packets properly over my EtherPort
> > card. I'll clean it up and try to get packet reception working later...
>
> Cool.
>
> > For some reason, NetBSD is ignoring interrups requested by either card,
> > and I haven't been able to figure out why. Does anyone have any ideas?
>
> This is a IIcx, right? What are all of the cards that you have
> installed? Presumably, you have a video card of some sort in addition
> to these ethernet cards. Is that right?
The three cards I have in are a Radius DirectColor/GX in slot 9 (the
leftmost slot), which has no explicit support (unknown ID 0x27c)... (penny
drops)... (grabs a Mac II High-Resolution Video Card)... Yes, that was
the problem. Thank you. ^_^
Oh, right, the other two cards. A MacCon Ethernet in slot a, and an
EtherPort IIN in slot b.
Now, how do I go about adding support for the DirectColor/GX so that I can
use both it and the network cards in the same system? Is it just a matter
of finding the driver, disassembling it, and looking at it's interrupt
handler for how it acknowledges interrupts?
> How are you checking for interrupts?
The last step in ae_nubus_attach() is to call add_nubus_intr(). Is this
what you are referring to?
> -allen
>
> --
> Allen Briggs briggs@wasabisystems.com
> http://www.wasabisystems.com/ Quality NetBSD CDs, Sales, Support, Service
---------------------------
All programming can be viewed as an exercise.
---------------------------
Alastair Bridgewater
e-mail: nyef@softhome.net