Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ofw/ofw_bus_subr.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | |||||
* provided table pointer is NULL. | * provided table pointer is NULL. | ||||
*/ | */ | ||||
const struct ofw_compat_data * | const struct ofw_compat_data * | ||||
ofw_bus_search_compatible(device_t, const struct ofw_compat_data *); | ofw_bus_search_compatible(device_t, const struct ofw_compat_data *); | ||||
/* Helper routine for checking existence of a prop */ | /* Helper routine for checking existence of a prop */ | ||||
int ofw_bus_has_prop(device_t, const char *); | int ofw_bus_has_prop(device_t, const char *); | ||||
/* Helper to search for a child with a given compat prop */ | |||||
phandle_t ofw_bus_find_compatible(phandle_t, const char *); | |||||
#endif /* !_DEV_OFW_OFW_BUS_SUBR_H_ */ | #endif /* !_DEV_OFW_OFW_BUS_SUBR_H_ */ |