- Complete breaking out the definition of bus_space_{tag,handle}_t by
moving the typedef of bus_space_tag_t from sys/sparc64/include/bus.h to sys/sparc64/include/_bus.h. This brings sparc64 in sync with the other platforms and fixes the compilation of drivers which include <sys/rman.h> before <machine/bus.h> after sys/sys/rman.h rev. 1.34. - Remove the definition of bus_type_t from sys/sparc64/include/_bus.h as it's unused since sys/sparc64/include/bus.h rev. 1.6 and sys/sparc64/sparc64/bus_machdep.c rev. 1.3. - Remove some pointless comments.
This commit is contained in:
parent
4946fe7c4d
commit
ab098c4184
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159583
@ -31,12 +31,9 @@
|
||||
#ifndef SPARC64_INCLUDE__BUS_H
|
||||
#define SPARC64_INCLUDE__BUS_H
|
||||
|
||||
/*
|
||||
* Bus address and size types
|
||||
*/
|
||||
typedef u_long bus_space_handle_t;
|
||||
typedef int bus_type_t;
|
||||
typedef u_long bus_addr_t;
|
||||
typedef u_long bus_size_t;
|
||||
typedef u_long bus_addr_t;
|
||||
typedef u_long bus_size_t;
|
||||
typedef u_long bus_space_handle_t;
|
||||
typedef struct bus_space_tag *bus_space_tag_t;
|
||||
|
||||
#endif /* SPARC64_INCLUDE__BUS_H */
|
||||
|
@ -110,11 +110,6 @@ extern int bus_stream_asi[];
|
||||
|
||||
#define BUS_SPACE_UNRESTRICTED (~0)
|
||||
|
||||
/*
|
||||
* Access methods for bus resources and address space.
|
||||
*/
|
||||
typedef struct bus_space_tag *bus_space_tag_t;
|
||||
|
||||
struct bus_space_tag {
|
||||
void *bst_cookie;
|
||||
bus_space_tag_t bst_parent;
|
||||
|
Loading…
Reference in New Issue
Block a user