diff options
author | uqs <uqs@FreeBSD.org> | 2011-06-02 09:56:53 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-06-02 09:56:53 +0000 |
commit | 75c697f88d61363d7adef67f64cb2a0073c9beec (patch) | |
tree | e94369ba2b112f7b08376a6a50a7996917dc4e8e /share/man/man9 | |
parent | 1c9f17fc8bc959ef6ecec0ba9d0b579e0dc4adb3 (diff) | |
download | FreeBSD-src-75c697f88d61363d7adef67f64cb2a0073c9beec.zip FreeBSD-src-75c697f88d61363d7adef67f64cb2a0073c9beec.tar.gz |
mdoc: reorder sections consistently
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/bus_adjust_resource.9 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/bus_adjust_resource.9 b/share/man/man9/bus_adjust_resource.9 index 519974b..be4adae 100644 --- a/share/man/man9/bus_adjust_resource.9 +++ b/share/man/man9/bus_adjust_resource.9 @@ -67,6 +67,15 @@ It is the caller's responsibility to enforce any such requirements. The .Fn bus_adjust_resource method returns zero on success or an error code on failure. +.Sh EXAMPLES +Grow an existing memory resource by 4096 bytes. +.Bd -literal + struct resource *res; + int error; + + error = bus_adjust_resource(dev, SYS_RES_MEMORY, res, + rman_get_start(res), rman_get_end(res) + 0x1000); +.Ed .Sh ERRORS .Fn bus_adjust_resource will fail if: @@ -85,15 +94,6 @@ The new address range does not overlap with the existing address range of .It Bq Er EBUSY The new address range conflicts with another allocated resource. .El -.Sh EXAMPLES -Grow an existing memory resource by 4096 bytes. -.Bd -literal - struct resource *res; - int error; - - error = bus_adjust_resource(dev, SYS_RES_MEMORY, res, - rman_get_start(res), rman_get_end(res) + 0x1000); -.Ed .Sh SEE ALSO .Xr bus_alloc_resource 9 , .Xr bus_release_resource 9 , |