devclass(9freebsd)

devclass9freebsd

Object representing a class of devices

Usage

typedef struct devclass *devclass_t;

Overview

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.