Re: [PATCH] m68k: Updated Atari EtherNAT (SMC91C111) driver
- To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
- Cc: Stephen R Marenka <stephen@marenka.net>, cts@debian.org, debian-68k@lists.debian.org, linux-m68k@vger.kernel.org
- Subject: Re: [PATCH] m68k: Updated Atari EtherNAT (SMC91C111) driver
- From: Geert Uytterhoeven <geert@linux-m68k.org>
- Date: Sun, 24 Aug 2008 12:10:49 +0200 (CEST)
- Message-id: <[🔎] Pine.LNX.4.64.0808241158300.5124@anakin>
- In-reply-to: <alpine.DEB.1.00.0807210121240.3710@zirkon.biophys.uni-duesseldorf.de>
- References: <20080711024001.GA11359@marenka.net> <alpine.DEB.1.00.0807110529160.32284@zirkon.biophys.uni-duesseldorf.de> <20080711162048.GB20646@marenka.net> <alpine.DEB.1.00.0807162328200.22036@zirkon.biophys.uni-duesseldorf.de> <20080716213827.GA8206@marenka.net> <alpine.DEB.1.00.0807162346430.22036@zirkon.biophys.uni-duesseldorf.de> <20080718150632.GA12393@marenka.net> <Pine.LNX.4.64.0807181744560.2017@anakin> <alpine.DEB.1.00.0807210121240.3710@zirkon.biophys.uni-duesseldorf.de>
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: