Ethernet Drivers for LAN/Controller-on-Board Systems

Geert Uytterhoeven geert at linux-m68k.org
Thu Dec 2 04:23:22 EST 1999


On Tue, 30 Nov 1999, Grant Erickson wrote:
> Anyway, I'm working on a port for the IBM "Oak" 403GCX board. This board
> has on it, a National DP83902AV Ethernet MAC. The chip is more or less
> directly attached to the 403GCX's address/data buses and resides at the
> base physical address 0xF4000000.
> 
> How are such Ethernet controllers accommodated by the kernel? It seems as
> though I cannot just use 8390.o directly as it is but a library used by
> drivers such as ne2k.o. However, I don't think I can or want to use a
> driver such as ne2k.o as this isn't a PCI or an ISA card-type controller
> either.
> 
> Do I need to write a small upper-layer wrapper driver, such as oak_8390.c,
> for this?

Yes, you have to write glue code between your hardware and 8390.o. Look at the
other 8390 glue codes for examples.

Gr{oetje,eeting}s,
--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list