Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the

other platforms.
This commit is contained in:
Warner Losh 2010-04-08 19:34:55 +00:00
parent 476310d371
commit b938b7a366
2 changed files with 4 additions and 0 deletions

View file

@ -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_ */

View file

@ -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
*/