tail head cat sleep
QR code linking to this page

Manual Pages  — DEVICE_GET_SYSCTL

NAME

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

CONTENTS

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 obtained with the device_get_sysctl_ctx() function.

SEE ALSO

device(9)

AUTHORS

This manual page was written by Warner Losh.

DEVICE_GET_SYSCTL (9) June 18, 2011

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook