Subject: gem and wm ethernet on dual G4 FW 800 (was RE: ste ethernet on pm
To: 'port-macppc@netbsd.org' <port-macppc@netbsd.org>
From: Evertz NetBSD <evertz-netbsd@evertz.com>
List: port-macppc
Date: 06/04/2003 09:33:51
Hey, while you're fixing ethernet drivers ...
gem isn't working properly on the FW 800 dual 1.25 GHz machine. It works,
but 60% of cpu time goes to servicing interrupts. This effect goes away
when I take the gem driver out of the kernel.
wm isn't quite working right either, when I ping out, I get 10.0 ms, when
other machines ping in, I get a normal number in the < 1 ms range. Again,
it works, but it seems oddly slow given the hardware it's on.
Gregory
> -----Original Message-----
> From: Izumi Tsutsui [mailto:tsutsui@ceres.dti.ne.jp]
> Sent: Wednesday, June 04, 2003 8:41 AM
> To: rtm1@ualberta.ca
> Cc: port-macppc@netbsd.org; tsutsui@ceres.dti.ne.jp
> Subject: Re: ste ethernet on pm7300/200
>
>
> In article <410D5140-963F-11D7-BEEA-00039353FF40@ualberta.ca>
> rtm1@ualberta.ca wrote:
>
> > ste0: Host interface error
> > ste0: DMA halt timed out
>
> How about the attached patch?
> ---
> Izumi Tsutsui
> tsutsui@ceres.dti.ne.jp
>
> --- if_ste.c.orig 2003-06-04 21:37:35.000000000 +0900
> +++ if_ste.c 2003-06-04 21:38:21.000000000 +0900
> @@ -760,7 +760,7 @@
> * last.
> */
> sc->sc_txdescs[olasttx].tfd_next =
> - STE_CDTXADDR(sc, STE_NEXTTX(olasttx));
> + htole32(STE_CDTXADDR(sc, STE_NEXTTX(olasttx)));
> STE_CDTXSYNC(sc, olasttx,
> BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE);
>
>