*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> devclass (9)              
Title
Content
Arch
Section
 

DEVCLASS(9)

Contents


NAME    [Toc]    [Back]

     devclass -- object representing a class of devices

SYNOPSIS    [Toc]    [Back]

     typedef struct devclass *devclass_t;

DESCRIPTION    [Toc]    [Back]

     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.

SEE ALSO    [Toc]    [Back]

      
      
     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)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
tis_get_expiration Tru64 Obtains a value representing a desired expiration time
pthread_get_expiration_np Tru64 Obtains a value representing a desired expiration time
Object Tru64 The Object widget class
Object IRIX The Object widget class
Object HP-UX The Object widget class
perltie IRIX how to hide an object class in a simple variable
perltie OpenBSD how to hide an object class in a simple variable
elf_getehdr IRIX retrieve class-dependent object file header
shm_open Tru64 Opens a shared memory object, creating the object if necessary (P1003.1b)
xlate IRIX the address translation object file section of an ELF object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service