summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-02 19:41:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-02 19:41:41 +0000
commitf3bfaea3c87326765a7afafeeff0e22335691327 (patch)
tree569012302fd0552e69d8a4b815eaafcfc3a9837e /sys/arch
parent72d619a30a420476b5d11c6b7c390dffd8c1b264 (diff)
Fix typos, update vtophys() prototype.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvmeppc/pci/mpcpcibr.c10
-rw-r--r--sys/arch/mvmeppc/pci/raven.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/mvmeppc/pci/mpcpcibr.c b/sys/arch/mvmeppc/pci/mpcpcibr.c
index 1d8aecc3ddd..860a5d54410 100644
--- a/sys/arch/mvmeppc/pci/mpcpcibr.c
+++ b/sys/arch/mvmeppc/pci/mpcpcibr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibr.c,v 1.3 2001/08/17 22:26:58 mickey Exp $ */
+/* $OpenBSD: mpcpcibr.c,v 1.4 2001/09/02 19:41:40 miod Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
@@ -261,13 +261,13 @@ const char *pnp;
}
/*
- * Get PCI physical address from given viritual address.
- * XXX Note that cross page boundarys are *not* garantueed to work!
+ * Get PCI physical address from given virtual address.
+ * XXX Note that cross page boundaries are *not* guaranteed to work!
*/
#if 0
vm_offset_t
vtophys(p)
-void *p;
+vaddr_t p;
{
vm_offset_t pa;
vm_offset_t va;
@@ -284,7 +284,7 @@ void *p;
#else
vm_offset_t
vtophys(p)
-void *p;
+vaddr_t p;
{
vm_offset_t pa;
vm_offset_t va;
diff --git a/sys/arch/mvmeppc/pci/raven.c b/sys/arch/mvmeppc/pci/raven.c
index 000c52cac77..b964529e95c 100644
--- a/sys/arch/mvmeppc/pci/raven.c
+++ b/sys/arch/mvmeppc/pci/raven.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raven.c,v 1.2 2001/08/17 22:26:58 mickey Exp $ */
+/* $OpenBSD: raven.c,v 1.3 2001/09/02 19:41:40 miod Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
@@ -217,8 +217,8 @@ mpcpcibrprint(aux, pnp)
}
/*
- * Get PCI physical address from given viritual address.
- * XXX Note that cross page boundarys are *not* garantueed to work!
+ * Get PCI physical address from given virtual address.
+ * XXX Note that cross page boundaries are *not* guaranteed to work!
*/
vm_offset_t