NAME bus_set_resource - "associate a definite resource with a given resource ID" CONTENTS Synopsis Description Return Values See Also Authors SYNOPSIS .In sys/param.h .In sys/bus.h .In machine/bus.h .In sys/rman.h .In machine/resource.h int .Fo bus_set_resource "device_t dev" "int type" "int rid" "u_long start" "u_long count" .Fc DESCRIPTION The bus_set_resource function sets the start address of the resource type, rid pair to be count long. Typically, client drivers do not use this interface. Bus drivers, however, often use it to set up the resources a client driver uses. The arguments are as follows:
.In machine/bus.h .In sys/rman.h .In machine/resource.h int .Fo bus_set_resource "device_t dev" "int type" "int rid" "u_long start" "u_long count" .Fc DESCRIPTION The bus_set_resource function sets the start address of the resource type, rid pair to be count long. Typically, client drivers do not use this interface. Bus drivers, however, often use it to set up the resources a client driver uses. The arguments are as follows:
The arguments are as follows: