Re: [patch 2/9] use mmiowb in tg3.c
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-10-28 23:42:58
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-10-28 23:42:58
On Thu, 28 Oct 2004 00:19:40 -0700 akpm@osdl.org wrote:
From: Jesse Barnes <redacted> This patch originally from Greg Banks. Some parts of the tg3 driver depend on PIO writes arriving in order. This patch ensures that in two key places using the new mmiowb macro. This not only prevents bugs (the queues can be corrupted), but is much faster than ensuring ordering using PIO reads (which involve a few round trips to the target bus on some platforms). Arthur has another patch that uses mmiowb in tg3 that he posted earlier as well. Signed-off-by: Greg Banks <redacted> Signed-off-by: Jesse Barnes <redacted> Signed-off-by: Andrew Morton <redacted>
Ok, applied.