Re: Ethernet problem -- Network completely dies
On Wed, 1 Oct 2003, Nathan Ingersoll wrote:
> Not at one of those machines presently, and I don't recall the specific model
> atm, but it uses the de4x5 or tulip drivers.
Does this patch help?
--- linux-ppc-2.4.21/drivers/net/tulip/tulip_core.c.orig Fri Jun 13 18:05:48 2003
+++ linux-ppc-2.4.21/drivers/net/tulip/tulip_core.c Fri Jun 13 21:25:50 2003
@@ -576,7 +576,7 @@
dev->if_port = 2 - dev->if_port;
} else
dev->if_port = 0;
- else
+ else if (dev->if_port != 0 || (csr12 & 0x0004) != 0)
dev->if_port = 1;
tulip_select_media(dev, 0);
}
> The fix I've seen in the past was to buffer the descriptors to 32 bytes
> (cache line size?). I've had to do the same for the epic100 driver when
> using it in that machine.
>
> On Wed, Oct 01, 2003 at 10:22:14AM +0200, Geert Uytterhoeven wrote:
> > On Tue, 30 Sep 2003, Zach Archer wrote:
> > > >Also, what ethernet card are you using? the onboard one?
> > >
> > > Yep, it's the onboard one.
> >
> > What type is the onboard?
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: