aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/bus_alloc_resource.9
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@FreeBSD.org>2001-07-14 19:41:16 +0000
committerJens Schweikhardt <schweikh@FreeBSD.org>2001-07-14 19:41:16 +0000
commitc1f3e4bf21571a88d4269a87f57e3e4ff2ba3ef6 (patch)
treefb1031efffc2846e7cacb61180a01c78ece1c3e9 /share/man/man9/bus_alloc_resource.9
parent52353da871a1c6308e9596c9fc75e374413a6ac4 (diff)
downloadsrc-c1f3e4bf21571a88d4269a87f57e3e4ff2ba3ef6.tar.gz
src-c1f3e4bf21571a88d4269a87f57e3e4ff2ba3ef6.zip
Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//' BTW, what editors are the culprits? I'm using vim and it shows me whitespace at EOL in troff files with a thick blue block... Reviewed by: Silence from cvs diff -b MFC after: 7 days
Notes
Notes: svn path=/head/; revision=79727
Diffstat (limited to 'share/man/man9/bus_alloc_resource.9')
-rw-r--r--share/man/man9/bus_alloc_resource.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/bus_alloc_resource.9 b/share/man/man9/bus_alloc_resource.9
index 53b64390d65b..6b60610ebcd8 100644
--- a/share/man/man9/bus_alloc_resource.9
+++ b/share/man/man9/bus_alloc_resource.9
@@ -45,7 +45,7 @@
.Fn bus_alloc_resource "device_t dev" "int type" "int *rid" "u_long start" "u_long end" "u_long count" "u_int flags"
.Sh DESCRIPTION
This is an easy interface to the resource-management functions.
-It hides the indirection through the parent's method table.
+It hides the indirection through the parent's method table.
This function generally should be called in attach, but (except in some
race cases) never earlier.
.Pp
@@ -99,7 +99,7 @@ If you specified the default values for
.Fa start
and
.Fa end ,
-then the default value of the bus is used if
+then the default value of the bus is used if
.Fa count
is smaller than the default value and
.Fa count
@@ -142,9 +142,9 @@ should be saved in the softc of the device after these calls.
portid = 0;
irqid = 0;
- portres = bus_alloc_resource(dev, SYS_RES_IOPORT, &portid,
+ portres = bus_alloc_resource(dev, SYS_RES_IOPORT, &portid,
0ul, ~0ul, 32, RF_ACTIVE);
- irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &irqid,
+ irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &irqid,
0ul, ~0ul, 1, RF_ACTIVE | RF_SHAREABLE);
.Ed
.Sh SEE ALSO