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

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

DEVICE_ENABLE(9)

Contents


NAME    [Toc]    [Back]

     device_enable, device_disable, device_is_enabled -- manipulate device
     enabled flag

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/bus.h>

     void
     device_enable(device_t dev);

     void
     device_disable(device_t dev);

     int
     device_is_enabled(device_t dev);

DESCRIPTION    [Toc]    [Back]

     Each device has an enabled flag associated with it.  A device is enabled
     by default when it is created but may be disabled (for instance to prevent
 a destructive or time consuming probe attempt).  To disable a
     device, call device_disable(), to re-enable it, call device_enable() and
     to test to see if a device is enabled, call device_is_enabled().

SEE ALSO    [Toc]    [Back]

      
      
     device(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
device_verbose FreeBSD manipulate device quiet flag
device_quiet FreeBSD manipulate device quiet flag
device_is_quiet FreeBSD manipulate device quiet flag
isqueued IRIX returns whether the specified device is enabled for queuing
device_is_alive FreeBSD manipulate device state
device_is_attached FreeBSD manipulate device state
device_unbusy FreeBSD manipulate device state
device_busy FreeBSD manipulate device state
device_get_state FreeBSD manipulate device state
BUS_WRITE_IVAR FreeBSD manipulate bus-specific device instance variables
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service