Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DEVICE_GET_SYSCTL(9)	   Kernel Developer's Manual	  DEVICE_GET_SYSCTL(9)

NAME
       device_get_sysctl_ctx,  device_get_sysctl_tree -- manipulate the	sysctl
       oid tree	for driver specific sysctl nodes

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

       struct sysctl_ctx_list *
       device_get_sysctl_ctx(device_t dev);

       struct sysctl_oid *
       device_get_sysctl_tree(device_t dev);

DESCRIPTION
       The newbus system automatically adds a sysctl node for each  device  in
       the    system.	  This	  node	  can	 be    accessed	   with	   the
       device_get_sysctl_tree()	function.  The context for the node can	be ob-
       tained with the device_get_sysctl_ctx() function.

SEE ALSO
       device(9)

AUTHORS
       This manual page	was written by Warner Losh.

FreeBSD	15.0			 June 18, 2011		  DEVICE_GET_SYSCTL(9)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=device_get_sysctl_ctx&sektion=9&manpath=FreeBSD+15.0-RELEASE+and+Ports>

home | help