summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-02-05 23:04:05 +0000
committerjkh <jkh@FreeBSD.org>1996-02-05 23:04:05 +0000
commit3a4dbb3ce738f7e41d99a91f42d2b4968a796c3d (patch)
tree0bcc04401013975aeb84280c66725da702d72e31 /sys/pci
parent9bfe2ca8474664f168e86f5a3cdf63a06c2d056d (diff)
downloadFreeBSD-src-3a4dbb3ce738f7e41d99a91f42d2b4968a796c3d.zip
FreeBSD-src-3a4dbb3ce738f7e41d99a91f42d2b4968a796c3d.tar.gz
Fix METEOR_TEST_VIDEO case.
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
Diffstat (limited to 'sys/pci')
-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