device_get_driver — 访问设备的当前驱动程序
device_get_driver
#include <sys/param.h> #include <sys/bus.h> driver_t * device_get_driver(device_t dev);
返回与该设备关联的当前驱动程序。若设备没有驱动程序,则返回 NULL。
NULL
device(9), driver(9)
本手册页由 Doug Rabson 编写。
最后更新于 4个月前
这有帮助吗?