Subject: Re: ste ethernet on pm7300/200
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Todd Mortimer <rtm1@ualberta.ca>
List: port-macppc
Date: 06/04/2003 22:25:22
That worked beautifully! The errors are gone and I am running at 
autonegotiated 100baseT full duplex. No problems so far..

Thank you so much,
Todd


On Wednesday, Jun 4, 2003, at 06:40 America/Edmonton, Izumi Tsutsui 
wrote:

> 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);
>
>