Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/extres/syscon/syscon_generic.h
Show All 34 Lines | struct syscon_generic_softc { | ||||
struct simplebus_softc simplebus; | struct simplebus_softc simplebus; | ||||
device_t dev; | device_t dev; | ||||
struct syscon *syscon; | struct syscon *syscon; | ||||
struct resource *mem_res; | struct resource *mem_res; | ||||
struct mtx mtx; | struct mtx mtx; | ||||
bool simplebus_attached; | bool simplebus_attached; | ||||
}; | }; | ||||
int syscon_generic_attach(device_t dev); | |||||
DECLARE_CLASS(syscon_generic_driver); | DECLARE_CLASS(syscon_generic_driver); | ||||
#endif /* DEV_SYSCON_GENERIC_H */ | #endif /* DEV_SYSCON_GENERIC_H */ |