]> err.no Git - linux-2.6/commit
sky2: memory barriers change
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 14 May 2007 19:38:15 +0000 (12:38 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 May 2007 00:43:14 +0000 (20:43 -0400)
commit50432cb534b566c4fd9e371fb37464a65ccd2391
treeb9967313ebf46d37650fbbc66fb35240be1825c0
parent84787e3fc38a4847e5d75388d5a7fb3cf6bd7834
sky2: memory barriers change

Do some memory barrier changes for safety/perfomance:
Don't need read after update to index, mmiowb() followed by read at end
of irq is sufficient.

Signed-off-by: Stephn Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c