logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

devclass — object representing a class of devices

Authors

       This manual page was written by Doug Rabson.

Debian                                            June 16, 1998                                      DEVCLASS(9)

Description

       The  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 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 devclass must be the same for different bus attachments of the same device driver.

Name

       devclass — object representing a class of devices

See Also

devclass_add_driver(9),     devclass_delete_driver(9),     devclass_find(9),     devclass_find_driver(9),
       devclass_get_device(9),    devclass_get_devices(9),    devclass_get_maxunit(9),     devclass_get_name(9),
       devclass_get_softc(9), device(9), driver(9)

Synopsis

typedefstructdevclass*devclass_t;

See Also