summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/meteor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index a8db8d9..1f14e73 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -1469,7 +1469,7 @@ meteor_ioctl(dev_t dev, int cmd, caddr_t arg, int flag, struct proc *pr)
p = (volatile u_long *) mtr->virt_baseaddr;
#ifdef METEOR_TEST_VIDEO
if(mtr->video.addr)
- buf = mtr->video.addr;
+ buf = vtophys(mtr->video.addr);
else
#endif
buf = vtophys(mtr->bigbuf);
OpenPOWER on IntegriCloud