|
NAMEbus_set_resource —
associate a definite resource with a given resource ID
SYNOPSIS#include <sys/param.h>
#include <sys/bus.h>
int
DESCRIPTIONThebus_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:
RETURN VALUESZero is returned on success, otherwise an error is returned.SEE ALSObus_alloc_resource(9), bus_get_resource(9), device(9), driver(9)AUTHORSThis manual page was written by Warner Losh <imp@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |