From 9a60c7f6ae29694e74bd2de138ace2497ac5a895 Mon Sep 17 00:00:00 2001 From: uwe Date: Thu, 4 Apr 2002 18:50:28 +0000 Subject: [PATCH] Nuke ugly ms-IIep specific hack now that mspcic knows about phys->pci address translation. --- sys/dev/pci/igsfb_pci.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/dev/pci/igsfb_pci.c b/sys/dev/pci/igsfb_pci.c index 945d355a49ae..5474f6395898 100644 --- a/sys/dev/pci/igsfb_pci.c +++ b/sys/dev/pci/igsfb_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: igsfb_pci.c,v 1.1 2002/03/30 19:48:56 uwe Exp $ */ +/* $NetBSD: igsfb_pci.c,v 1.2 2002/04/04 18:50:28 uwe Exp $ */ /* * Copyright (c) 2002 Valeriy E. Ushakov @@ -31,7 +31,7 @@ * Integraphics Systems IGA 1682 and (untested) CyberPro 2k. */ #include -__KERNEL_RCSID(0, "$NetBSD: igsfb_pci.c,v 1.1 2002/03/30 19:48:56 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: igsfb_pci.c,v 1.2 2002/04/04 18:50:28 uwe Exp $"); #include #include @@ -138,10 +138,8 @@ igsfb_pci_attach(parent, self, aux) ioflags = sc->sc_memflags; } else { /* feh, 1682 denies having io space registers */ -/* XXX: ms-IIep specific !!! */ -#define IGS_IO_PADDR 0x30000000 sc->sc_iot = pa->pa_iot; - iobase = IGS_IO_PADDR; + iobase = 0; ioflags = 0; }