summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-28 16:48:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-28 16:48:29 +0000
commit311d2bd4c9ee3c1d564049659443d7c9a1a335c9 (patch)
treeecae07647e38aadb5a9f6fc21bdf9b0826d32ab6
parent376b77d2c33785ca85d81399a19566d16a431be2 (diff)
do not blindely bus_space_ma the vga bios,
it could be of a different size than 0x8000, and now bios(4) does it for us the right way. besides, would the prom be at the same address on non-i386?
-rw-r--r--sys/dev/ic/vga.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c
index b0eb9df1092..e7d55f77799 100644
--- a/sys/dev/ic/vga.c
+++ b/sys/dev/ic/vga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vga.c,v 1.17 2001/02/08 02:47:10 aaron Exp $ */
+/* $OpenBSD: vga.c,v 1.18 2001/02/28 16:48:28 mickey Exp $ */
/* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */
/*
@@ -95,10 +95,6 @@ struct vga_config {
const struct wsscreen_descr *currenttype;
int currentfontset1, currentfontset2;
- int vc_biosmapped;
- bus_space_tag_t vc_biostag;
- bus_space_handle_t vc_bioshdl;
-
struct vgafont *vc_fonts[8];
struct vgascreen *wantedscreen;
@@ -497,14 +493,6 @@ vga_init(vc, iot, memt)
&vh->vh_memh))
panic("vga_common_setup: mem subrange failed");
- /* should only reserve the space (no need to map - save KVM) */
- vc->vc_biostag = memt;
- if (bus_space_map(vc->vc_biostag, 0xc0000, 0x8000, 0,
- &vc->vc_bioshdl))
- vc->vc_biosmapped = 0;
- else
- vc->vc_biosmapped = 1;
-
vc->nscreens = 0;
LIST_INIT(&vc->screens);
vc->active = NULL;