summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
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