summaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-06-10 20:31:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-06-10 20:31:00 +0000
commit092a5c4530e8228794d938e953a42b7d5ac0a7ad (patch)
tree64c289342d49b723657e06e2e9f7474c95c59775 /sys/dev/fb
parentdd4d62c7d8c2bace092c9a8998d04a6f0739942f (diff)
Notes
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c
index 7bde1d9059ac..9f128135af4b 100644
--- a/sys/dev/fb/vga.c
+++ b/sys/dev/fb/vga.c
@@ -67,7 +67,7 @@ __FBSDID("$FreeBSD$");
#if !defined(__amd64__)
#define BIOS_PADDRTOVADDR(x) (x)
#else
-#define BIOS_PADDRTOVADDR(x) (((x) - ISA_HOLE_START) + atdevbase)
+#define BIOS_PADDRTOVADDR(x) ((x) + KERNBASE)
#endif
#endif