diff options
author | grehan <grehan@FreeBSD.org> | 2004-07-01 07:59:08 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-07-01 07:59:08 +0000 |
commit | 9583041d2ccbd51842e8118efe06caec898856a5 (patch) | |
tree | bf073b15816d7eefa9cee2caea1cece5b670d0b7 /sys/powerpc | |
parent | c157e8aff456a2e3537e0dca60cffc2c9094fcf4 (diff) | |
download | FreeBSD-src-9583041d2ccbd51842e8118efe06caec898856a5.zip FreeBSD-src-9583041d2ccbd51842e8118efe06caec898856a5.tar.gz |
Catch up with __RMAN_RESOURCE_VISIBLE change
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/powermac/grackle.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powermac/hrowpic.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powermac/macio.c | 11 | ||||
-rw-r--r-- | sys/powerpc/powermac/openpic_macio.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powermac/uninorth.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powerpc/openpic.c | 1 | ||||
-rw-r--r-- | sys/powerpc/psim/iobus.c | 8 | ||||
-rw-r--r-- | sys/powerpc/psim/openpic_iobus.c | 1 |
8 files changed, 25 insertions, 0 deletions
diff --git a/sys/powerpc/powermac/grackle.c b/sys/powerpc/powermac/grackle.c index 56a28b0..1609b83 100644 --- a/sys/powerpc/powermac/grackle.c +++ b/sys/powerpc/powermac/grackle.c @@ -27,6 +27,7 @@ * $FreeBSD$ */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/powerpc/powermac/hrowpic.c b/sys/powerpc/powermac/hrowpic.c index 1faa92a..bf1a134 100644 --- a/sys/powerpc/powermac/hrowpic.c +++ b/sys/powerpc/powermac/hrowpic.c @@ -39,6 +39,7 @@ * prior to this are activated. */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c index 8e4fc35..00cd783 100644 --- a/sys/powerpc/powermac/macio.c +++ b/sys/powerpc/powermac/macio.c @@ -31,6 +31,7 @@ * Driver for KeyLargo/Pangea, the MacPPC south bridge ASIC. */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -54,6 +55,16 @@ #include <dev/pci/pcivar.h> #include <dev/pci/pcireg.h> +/* + * Macio softc + */ +struct macio_softc { + phandle_t sc_node; + vm_offset_t sc_base; + vm_offset_t sc_size; + struct rman sc_mem_rman; +}; + static MALLOC_DEFINE(M_MACIO, "macio", "macio device information"); static int macio_probe(device_t); diff --git a/sys/powerpc/powermac/openpic_macio.c b/sys/powerpc/powermac/openpic_macio.c index 0f8b0e2..0c392a7 100644 --- a/sys/powerpc/powermac/openpic_macio.c +++ b/sys/powerpc/powermac/openpic_macio.c @@ -38,6 +38,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/powerpc/powermac/uninorth.c b/sys/powerpc/powermac/uninorth.c index c609a00..3c7782d 100644 --- a/sys/powerpc/powermac/uninorth.c +++ b/sys/powerpc/powermac/uninorth.c @@ -25,6 +25,7 @@ * $FreeBSD$ */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/powerpc/powerpc/openpic.c b/sys/powerpc/powerpc/openpic.c index cd44cff..cd52039 100644 --- a/sys/powerpc/powerpc/openpic.c +++ b/sys/powerpc/powerpc/openpic.c @@ -25,6 +25,7 @@ * $FreeBSD$ */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/bus.h> diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c index 9a1de33..9345a74 100644 --- a/sys/powerpc/psim/iobus.c +++ b/sys/powerpc/psim/iobus.c @@ -35,6 +35,7 @@ * Code borrowed from various nexus.c and uninorth.c :-) */ +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -56,6 +57,13 @@ #include <powerpc/psim/iobusvar.h> +struct iobus_softc { + phandle_t sc_node; + vm_offset_t sc_addr; + vm_offset_t sc_size; + struct rman sc_mem_rman; +}; + static MALLOC_DEFINE(M_IOBUS, "iobus", "iobus device information"); static int iobus_probe(device_t); diff --git a/sys/powerpc/psim/openpic_iobus.c b/sys/powerpc/psim/openpic_iobus.c index 638e747..a057c4b 100644 --- a/sys/powerpc/psim/openpic_iobus.c +++ b/sys/powerpc/psim/openpic_iobus.c @@ -33,6 +33,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#define __RMAN_RESOURCE_VISIBLE #include <sys/param.h> #include <sys/systm.h> #include <sys/module.h> |