summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2003-04-18 02:42:27 +0000
committergrehan <grehan@FreeBSD.org>2003-04-18 02:42:27 +0000
commitbb63ad371c6f7a78952e31c3838c27d799002f2d (patch)
tree3fe3d7d7535c57f00b425eee2f18f3aaed8d55e4 /sys
parent185952a327bdaccc38b84118f6e114d659f96a95 (diff)
downloadFreeBSD-src-bb63ad371c6f7a78952e31c3838c27d799002f2d.zip
FreeBSD-src-bb63ad371c6f7a78952e31c3838c27d799002f2d.tar.gz
Remove sparse addressing hack. The macio ATA driver no longer requires
this.
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/powermac/macio.c3
-rw-r--r--sys/powerpc/powermac/uninorth.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c
index 7c77241..6d79c38 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 5e15c27..8a77f2b 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,
OpenPOWER on IntegriCloud