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/powermac/macio.c | |
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/powermac/macio.c')
-rw-r--r-- | sys/powerpc/powermac/macio.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |