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/psim | |
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/psim')
-rw-r--r-- | sys/powerpc/psim/iobus.c | 8 | ||||
-rw-r--r-- | sys/powerpc/psim/openpic_iobus.c | 1 |
2 files changed, 9 insertions, 0 deletions
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> |