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

Re: [PATCH] m68k: Updated Atari EtherNAT (SMC91C111) driver



On Mon, 21 Jul 2008, Michael Schmitz wrote:
> Take two ... the driver proper.
> 
> > > On Wed, Jul 16, 2008 at 11:59:53PM +0200, Michael Schmitz wrote:
> > > > We should close it with the next kernel upload... with any luck, I'll
> > > > have the SMC91C111 driver working by then (it did finally own up to
> > > > detecting the proper hardware, instead of stuffing up the ROM-port card
> > > > or just hanging the kernel).
> > > 
> > > Does Geert have this in his queue yet?
> > 
> > No. Where's the patch?
> 
> Now for the actual EtherNAT driver ... still experimental at this stage.
> 
> This patch _replaces_ Geert's linux-m68k-patches-2.6/atari-ethernat.diff (the
> lp updates made it a bit too messy so I rather send a fresh one). Please
> replace the old patch with this one, Geert.

>  b/drivers/net/atari_91C111.c |  191 ++++++++++++++++++++++++++++++++++++++++---

Euh, the patch doesn't provide the whole drivers/net/atari_91C111.c;
that part seems to be incremental?

Can you please resend the full patch?

> Apparently, the EtherNAT has no station addres (MAC) PROM on board, so you
> will have to set the MAC address manually, using
> 
> ifconfig eth%d hw ether 00:00:de:ad:be:ef

I think there's infrastructure for that. Ah, random_ether_addr() in
include/linux/etherdevice.h

> Sending and receiving data via EtherNAT works to some degree, that is, I can
> ping remote hosts (but receive duplicate reply packets from the local net when
> I have the EtherNEC up at the same time). I cannot use slogin (which may be
> due to the dups, or because I use the same local net for both interfaces
> without properly separating the networks).

Do EtherNAT and EtherNEC share the same interrupt?
Do you have both of them connected to the same local net?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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


Reply to: