diff options
author | imp <imp@FreeBSD.org> | 2010-04-08 19:34:55 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-04-08 19:34:55 +0000 |
commit | 7631143fbce954e8f11c2618b26aac6af6883c07 (patch) | |
tree | 1108bdfab115a28969071073bb944b5ebe45d69f /sys | |
parent | 67657bf7e507df783f1541579f0329f027c059be (diff) | |
download | FreeBSD-src-7631143fbce954e8f11c2618b26aac6af6883c07.zip FreeBSD-src-7631143fbce954e8f11c2618b26aac6af6883c07.tar.gz |
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/include/bus.h | 2 | ||||
-rw-r--r-- | sys/mips/include/bus.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/include/bus.h b/sys/arm/include/bus.h index 4080c33..cabf1f7 100644 --- a/sys/arm/include/bus.h +++ b/sys/arm/include/bus.h @@ -721,6 +721,8 @@ bs_c_8_proto(f); #define BUS_SPACE_MAXSIZE_32BIT 0xFFFFFFFF #define BUS_SPACE_MAXSIZE 0xFFFFFFFF +#define BUS_SPACE_UNRESTRICTED (~0) + #include <machine/bus_dma.h> #endif /* _MACHINE_BUS_H_ */ diff --git a/sys/mips/include/bus.h b/sys/mips/include/bus.h index ccaeb34..2ab347b 100644 --- a/sys/mips/include/bus.h +++ b/sys/mips/include/bus.h @@ -713,6 +713,8 @@ void __bs_c(f,_bs_c_8) (void *t, bus_space_handle_t bsh1, \ #define BUS_SPACE_MAXSIZE_32BIT 0xFFFFFFFF #define BUS_SPACE_MAXSIZE 0xFFFFFFFF +#define BUS_SPACE_UNRESTRICTED (~0) + /* * declare generic bus space, it suits all needs in */ |