s/BUS_BARRIER/BUS_SPACE_BARRIER/g
This commit is contained in:
parent
613ee19c60
commit
1aa35e94d4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pci_swiz_bus_io_chipdep.c,v 1.20 1997/09/02 19:39:15 thorpej Exp $ */
|
||||
/* $NetBSD: pci_swiz_bus_io_chipdep.c,v 1.21 1997/09/06 05:21:14 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
|
@ -435,9 +435,9 @@ __C(CHIP,_io_barrier)(v, h, o, l, f)
|
|||
int f;
|
||||
{
|
||||
|
||||
if ((f & BUS_BARRIER_READ) != 0)
|
||||
if ((f & BUS_SPACE_BARRIER_READ) != 0)
|
||||
alpha_mb();
|
||||
else if ((f & BUS_BARRIER_WRITE) != 0)
|
||||
else if ((f & BUS_SPACE_BARRIER_WRITE) != 0)
|
||||
alpha_wmb();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pci_swiz_bus_mem_chipdep.c,v 1.21 1997/09/02 19:39:16 thorpej Exp $ */
|
||||
/* $NetBSD: pci_swiz_bus_mem_chipdep.c,v 1.22 1997/09/06 05:21:15 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
|
@ -680,9 +680,9 @@ __C(CHIP,_mem_barrier)(v, h, o, l, f)
|
|||
int f;
|
||||
{
|
||||
|
||||
if ((f & BUS_BARRIER_READ) != 0)
|
||||
if ((f & BUS_SPACE_BARRIER_READ) != 0)
|
||||
alpha_mb();
|
||||
else if ((f & BUS_BARRIER_WRITE) != 0)
|
||||
else if ((f & BUS_SPACE_BARRIER_WRITE) != 0)
|
||||
alpha_wmb();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue