Changeset View
Changeset View
Standalone View
Standalone View
share/man/man9/bus_adjust_resource.9
Show All 35 Lines | |||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/param.h | .In sys/param.h | ||||
.In sys/bus.h | .In sys/bus.h | ||||
.Pp | .Pp | ||||
.In machine/bus.h | .In machine/bus.h | ||||
.In sys/rman.h | .In sys/rman.h | ||||
.In machine/resource.h | .In machine/resource.h | ||||
.Ft int | .Ft int | ||||
.Fn bus_adjust_resource "device_t dev" "int type" "struct resource *r" "u_long start" "u_long end" | .Fo bus_adjust_resource | ||||
.Fa "device_t dev" "int type" "struct resource *r" "rman_res_t start" "rman_res_t end" | |||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
This function is used to ask the parent bus to adjust the resource range | This function is used to ask the parent bus to adjust the resource range | ||||
assigned to an allocated resource. | assigned to an allocated resource. | ||||
The resource | The resource | ||||
.Fa r | .Fa r | ||||
should have been allocated by a previous call to | should have been allocated by a previous call to | ||||
.Xr bus_alloc_resource 9 . | .Xr bus_alloc_resource 9 . | ||||
The new resource range must overlap the existing range of | The new resource range must overlap the existing range of | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |