summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-06-10 20:31:00 +0000
committerjhb <jhb@FreeBSD.org>2004-06-10 20:31:00 +0000
commitf7c8770debc1cb4e4c0aa95cd3a49dbf7072d704 (patch)
tree64c289342d49b723657e06e2e9f7474c95c59775 /sys/dev/fb
parent30a30620eea7f0af192d7e3c5dbf11e77ae4a6cc (diff)
downloadFreeBSD-src-f7c8770debc1cb4e4c0aa95cd3a49dbf7072d704.zip
FreeBSD-src-f7c8770debc1cb4e4c0aa95cd3a49dbf7072d704.tar.gz
Remove atdevbase and replace it's remaining uses with direct references to
KERNBASE instead.
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 7bde1d9..9f12813 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
OpenPOWER on IntegriCloud