summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2005-05-27 00:49:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2005-05-27 00:49:57 +0000
commite2ff833e9c71fe2482a46beea694de665ba90eac (patch)
tree5f38ab712ddd3eae8a6d098584c71ff9d1eb44b4 /sys
parent54a5543fcbb48e6ca20e20f2317f066b42ac4d7c (diff)
nuke vtophys crap
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/yds.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pci/yds.c b/sys/dev/pci/yds.c
index 0951a00f32e..2aed2af5788 100644
--- a/sys/dev/pci/yds.c
+++ b/sys/dev/pci/yds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yds.c,v 1.25 2004/12/30 20:45:12 miod Exp $ */
+/* $OpenBSD: yds.c,v 1.26 2005/05/27 00:49:56 jason Exp $ */
/* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */
/*
@@ -67,11 +67,6 @@
#include <dev/pci/ydsreg.h>
#include <dev/pci/ydsvar.h>
-#ifdef AUDIO_DEBUG
-#include <uvm/uvm_extern.h> /* for vtophys */
-#include <uvm/uvm_pmap.h> /* for vtophys */
-#endif
-
/* Debug */
#undef YDS_USE_REC_SLOT
#define YDS_USE_P44
@@ -305,8 +300,6 @@ yds_dump_play_slot(sc, bank)
dma = yds_find_dma(sc,(void *)p);
- printf(" pbankp[%d] : %p(%p)\n",
- i, p, (void *)vtophys((vaddr_t)p));
for (j = 0; j < sizeof(struct play_slot_ctrl_bank) /
sizeof(u_int32_t); j++) {
printf(" 0x%02x: 0x%08x\n",