Manpages

DEVCLASS_ADD_DRIVER(9) BSD Kernel Developer’s Manual DEVCLASS_ADD_DRIVER(9)

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 automatically during system initialisation.

SEE ALSO

devclass(9), driver(9)

AUTHORS

This manual page was written by Doug Rabson.

BSD June 16, 1998 BSD