Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/bus_get_resource.9
Show All 38 Lines | |||||
.Nm bus_get_resource | .Nm bus_get_resource | ||||
.Nd "read a resource range/value with a given resource ID" | .Nd "read a resource range/value with a given resource ID" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/param.h | .In sys/param.h | ||||
.In sys/bus.h | .In sys/bus.h | ||||
.In sys/rman.h | .In sys/rman.h | ||||
.Ft int | .Ft int | ||||
.Fo bus_get_resource | .Fo bus_get_resource | ||||
.Fa "device_t dev" "int type" "int rid" "u_long *startp" "u_long *countp" | .Fa "device_t dev" "int type" "int rid" "rman_res_t *startp" "rman_res_t *countp" | ||||
.Fc | .Fc | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Fn bus_get_resource | .Fn bus_get_resource | ||||
function reads the range or value of the resource | function reads the range or value of the resource | ||||
.Fa type , rid | .Fa type , rid | ||||
pair and stores it in the | pair and stores it in the | ||||
.Fa startp | .Fa startp | ||||
Show All 39 Lines |