DEVCLASS_ADD_DRIV... MidnightBSD Kernel Developer’s ManualDEVCLASS_ADD_DRIV...

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.

MidnightBSD 0.3 June 16, 1998 MidnightBSD 0.3