summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-03-18 12:06:19 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-03-18 12:06:19 +0000
commita882561cbeac1caecb257310d46d5a6ab79cbd58 (patch)
tree2a51adb8015c36f89a01166b0e1399b40b2f655e /sys/arch
parent55fd4a9228cc7306d0821e95d4d229e7145a0316 (diff)
flush -> sync
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arc/pci/pci_machdep.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/arc/pci/pci_machdep.h b/sys/arch/arc/pci/pci_machdep.h
index dfeb5995c67..904395e9b2a 100644
--- a/sys/arch/arc/pci/pci_machdep.h
+++ b/sys/arch/arc/pci/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.3 1998/03/16 09:38:49 pefo Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.4 1998/03/18 12:06:18 pefo Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -61,7 +61,7 @@ struct arc_pci_chipset {
int, int (*)(void *), void *, char *));
void (*pc_intr_disestablish) __P((void *, void *));
int (*pc_ether_hw_addr) __P((u_int8_t *));
- void (*pc_flush_cache) __P((vm_offset_t, int));
+ void (*pc_sync_cache) __P((vm_offset_t, int));
};
/*
@@ -89,8 +89,8 @@ struct arc_pci_chipset {
(*(c)->pc_intr_disestablish)((c)->pc_intr_v, (iv))
#define pci_ether_hw_addr(c, p) \
(*(c)->pc_ether_hw_addr)((p))
-#define pci_flush_cache(p, s) \
- (*(c)->pc_flush_cache)((p, s))
+#define pci_sync_cache(c, p, s) \
+ (*(c)->pc_sync_cache)((p), (s))
vm_offset_t vtophysaddr __P((struct device *, vm_offset_t));