Subject: Re: CVS commit: syssrc
To: Jason R Thorpe , Matt Thomas <matt@netbsd.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: port-macppc
Date: 04/29/2001 13:53:12
On Thu, Apr 19, 2001 at 06:45:47PM -0700, Jason R Thorpe wrote:
>
>  > Modified Files:
>  > 	syssrc/sys/arch/macppc/dev: if_gm.c
>  > 
>  > Log Message:
>  > After finishing with the received descriptor, make sure to "eieio" to make
>  > sure the OWN gets back to the gmac in the proper order.  This reduces (and
>  > maybe even fixes) the gm0 out-of-order problem.
> 
> This should be handled in the bus_dma functions.  Look at the description
> of bus_dmamap_sync() in bus_dma(9), and also note that the Alpha port does
> an "mb" (memory barrier) instruction in bus_dmamap_sync().

In case you hadn't noticed, if_gm.c doesn't use bus_dma(9).

Anyway, is it my imagination, or did Tsubai's commit revert this
change??