From 5f9dfe1e17661c3af540387396e3f03ca8ed60c6 Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Fri, 18 Apr 2003 02:42:27 +0000 Subject: [PATCH] Remove sparse addressing hack. The macio ATA driver no longer requires this. --- sys/powerpc/powermac/macio.c | 3 --- sys/powerpc/powermac/uninorth.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c index 7c77241e37ad..6d79c381ab4e 100644 --- a/sys/powerpc/powermac/macio.c +++ b/sys/powerpc/powermac/macio.c @@ -439,9 +439,6 @@ macio_alloc_resource(device_t bus, device_t child, int type, int *rid, rm = &sc->sc_mem_rman; tagval = PPC_BUS_SPACE_MEM; - if (flags & PPC_BUS_SPARSE4) - tagval |= 4; - break; case SYS_RES_IRQ: diff --git a/sys/powerpc/powermac/uninorth.c b/sys/powerpc/powermac/uninorth.c index 5e15c27c75f0..8a77f2be52b4 100644 --- a/sys/powerpc/powermac/uninorth.c +++ b/sys/powerpc/powermac/uninorth.c @@ -358,8 +358,6 @@ uninorth_alloc_resource(device_t bus, device_t child, int type, int *rid, case SYS_RES_MEMORY: rm = &sc->sc_mem_rman; bt = PPC_BUS_SPACE_MEM; - if (flags & PPC_BUS_SPARSE4) - bt |= 4; break; case SYS_RES_IRQ: return (bus_alloc_resource(bus, type, rid, start, end, count,