mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Move soft structs back to C files to avoid exposing rman fields
to clients now that it's protected with __RMAN_RESOURCE_VISIBLE
This commit is contained in:
parent
39981fed82
commit
6c62609340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131399
@ -30,7 +30,7 @@
|
||||
#ifndef _MACIO_MACIOVAR_H_
|
||||
#define _MACIO_MACIOVAR_H_
|
||||
|
||||
/*
|
||||
/*
|
||||
* Accessors for macio devices
|
||||
*/
|
||||
|
||||
@ -60,16 +60,6 @@ MACIO_ACCESSOR(regs, REGS, struct macio_reg *)
|
||||
*/
|
||||
#define MACIO_REG_SIZE 0x7ffff
|
||||
|
||||
/*
|
||||
* Macio softc
|
||||
*/
|
||||
struct macio_softc {
|
||||
phandle_t sc_node;
|
||||
vm_offset_t sc_base;
|
||||
vm_offset_t sc_size;
|
||||
struct rman sc_mem_rman;
|
||||
};
|
||||
|
||||
/*
|
||||
* Format of a macio reg property entry.
|
||||
*/
|
||||
|
@ -63,11 +63,4 @@ struct iobus_devinfo {
|
||||
struct resource_list id_resources;
|
||||
};
|
||||
|
||||
struct iobus_softc {
|
||||
phandle_t sc_node;
|
||||
vm_offset_t sc_addr;
|
||||
vm_offset_t sc_size;
|
||||
struct rman sc_mem_rman;
|
||||
};
|
||||
|
||||
#endif /* _PSIM_IOBUSVAR_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user