DragonFly On-Line Manual Pages


DEVCLASS_ADD_DRIVE... DragonFly Kernel Developer's ManualDEVCLASS_ADD_DRIVE...

NAME

devclass_add_driver, devclass_delete_driver, devclass_find_driver -- manipulate the drivers in a devclass

SYNOPSIS

#include <sys/param.h> #include <sys/bus.h> int devclass_add_driver(devclass_t dc, driver_t *driver); int devclass_delete_driver(devclass_t dc, driver_t *driver); driver_t * devclass_find_driver(devclass_t dc, const char *name);

DESCRIPTION

These functions can be used to add new drivers into the system, remove old ones and search for existing ones. Normally drivers are added auto- matically during system initialisation.

SEE ALSO

devclass(9), driver(9)

AUTHORS

This man page was written by Doug Rabson. DragonFly 4.1 June 16, 1998 DragonFly 4.1