Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2005 21:03:43 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        alpha@freebsd.org
Subject:   Re: [PATCH] Add membar to bus dma PREWRITE operations
Message-ID:  <8805E3B0-6C63-47D8-861B-16A0AF36369B@xcllnt.net>
In-Reply-To: <200509021324.13391.jhb@FreeBSD.org>
References:  <200509021324.13391.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 2, 2005, at 10:24 AM, John Baldwin wrote:

> --- //depot/vendor/freebsd/src/sys/alpha/alpha/busdma_machdep.c     
> 2005/05/25
> 07:26:16
> +++ //depot/user/jhb/acpipci/alpha/alpha/busdma_machdep.c     
> 2005/08/18 17:55:22
> @@ -891,6 +891,10 @@
>              }
>          }
>      }
> +
> +    /* Ensure any pending writes have drained. */
> +    if (op & (BUS_DMASYNC_PREWRITE))
> +        alpha_mb();
>  }
>
>  static void

Ok on -current.

-- 
  Marcel Moolenaar         USPA: A-39004          marcel@xcllnt.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8805E3B0-6C63-47D8-861B-16A0AF36369B>