diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-07-08 16:36:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-07-08 16:36:24 +0000 |
commit | 720db33f11c15bfebc0e7110d31edb1a22bfe22d (patch) | |
tree | dca1f97514f16433483b66cde6cc61ccd4ed4034 /sys/arch/sparc64/dev | |
parent | 3abbd2e63f0d25cc1ca370763f9ce9cb118fe5a3 (diff) |
Don't need to worry about the ATI driver here anymore.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/vgafb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc64/dev/vgafb.c b/sys/arch/sparc64/dev/vgafb.c index 8663c0debce..8f6fd70fc99 100644 --- a/sys/arch/sparc64/dev/vgafb.c +++ b/sys/arch/sparc64/dev/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.58 2009/06/02 18:51:03 kettenis Exp $ */ +/* $OpenBSD: vgafb.c,v 1.59 2012/07/08 16:36:23 kettenis Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -447,10 +447,6 @@ vgafb_mapregs(sc, pa) if (sc->sc_mem_size >= bs) { /* this is the mmio */ sc->sc_mmio_addr = ba; - /* ATI driver maps 0x80000 mmio, grr */ - if (bs < 0x80000) { - bs = 0x80000; - } sc->sc_mmio_size = bs; hasmmio = 1; } else { @@ -459,10 +455,6 @@ vgafb_mapregs(sc, pa) sc->sc_mmio_size = sc->sc_mem_size; sc->sc_mem_addr = ba; sc->sc_mem_size = bs; - /* ATI driver maps 0x80000 mmio, grr */ - if (sc->sc_mmio_size < 0x80000) { - sc->sc_mmio_size = 0x80000; - } } } } |