devclass.9freebsd

Langue: en

Version: 309258 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

devclass - object representing a class of devices

SYNOPSIS

Vt typedef struct devclass *devclass_t ;

DESCRIPTION

The Vt devclass object has two main functions in the system. The first is to manage the allocation of unit numbers for device instances and the second is to hold the list of device drivers for a particular bus type. Each Vt devclass has a name and there cannot be two devclasses with the same name. This ensures that unique unit numbers are allocated to device instances.

Beware that this means Vt devclass must be the same for different bus attachments of the same device driver.

SEE ALSO

devclass_add_driver9, devclass_delete_driver9, devclass_find9, devclass_find_driver9, devclass_get_device9, devclass_get_devices9, devclass_get_maxunit9, devclass_get_name9, devclass_get_softc9, device(9), driver(9)

AUTHORS

This manual page was written by An Doug Rabson .