Use .Fn function_name.

MFC after:	3 days
This commit is contained in:
keramida 2005-01-06 17:11:56 +00:00
parent 1c8cfbe470
commit 56773f55d9
2 changed files with 17 additions and 8 deletions

View File

@ -28,7 +28,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 16, 1998 .Dd January 6, 2005
.Dt BUS_PRINT_CHILD 9 .Dt BUS_PRINT_CHILD 9
.Os .Os
.Sh NAME .Sh NAME
@ -40,7 +40,10 @@
.Ft int .Ft int
.Fn BUS_PRINT_CHILD "device_t dev" "device_t child" .Fn BUS_PRINT_CHILD "device_t dev" "device_t child"
.Sh DESCRIPTION .Sh DESCRIPTION
This is called from system code which prints out a description of a The
.Fn BUS_PRINT_CHILD
method
is called from system code which prints out a description of a
device. device.
It should describe the attachment that the child has with It should describe the attachment that the child has with
the parent. the parent.
@ -49,7 +52,8 @@ device is attached to.
Please see Please see
.Xr bus_generic_print_child 9 .Xr bus_generic_print_child 9
for more information regarding the proper formatting of the messages for more information regarding the proper formatting of the messages
printed by BUS_PRINT_CHILD. printed by
.Fn BUS_PRINT_CHILD .
.Sh SEE ALSO .Sh SEE ALSO
.Xr device 9 , .Xr device 9 ,
.Xr driver 9 .Xr driver 9

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 28, 2003 .Dd January 6, 2005
.Dt BUS_SETUP_INTR 9 .Dt BUS_SETUP_INTR 9
.Os .Os
.Sh NAME .Sh NAME
@ -45,8 +45,9 @@
.Ft int .Ft int
.Fn bus_teardown_intr "device_t dev" "struct resource *r" "void *cookiep" .Fn bus_teardown_intr "device_t dev" "struct resource *r" "void *cookiep"
.Sh DESCRIPTION .Sh DESCRIPTION
The method The
.Nm .Fn BUS_SETUP_INTR
method
will create and attach an interrupt handler to an interrupt will create and attach an interrupt handler to an interrupt
previously allocated by the resource manager's previously allocated by the resource manager's
.Xr BUS_ALLOC_RESOURCE 9 .Xr BUS_ALLOC_RESOURCE 9
@ -89,7 +90,7 @@ The
argument is a pointer to a argument is a pointer to a
.Vt "void *" .Vt "void *"
that that
.Nm .Fn BUS_SETUP_INTR
will write a cookie for the parent bus' use to if it is successful in will write a cookie for the parent bus' use to if it is successful in
establishing an interrupt. establishing an interrupt.
Driver writers may assume that this cookie will be non-zero. Driver writers may assume that this cookie will be non-zero.
@ -119,6 +120,10 @@ otherwise an appropriate error is returned.
This manual page was written by This manual page was written by
.An Jeroen Ruigrok van der Werven .An Jeroen Ruigrok van der Werven
.Aq asmodai@FreeBSD.org .Aq asmodai@FreeBSD.org
based on the manual pages for BUS_CREATE_INTR and BUS_CONNECT_INTR written by based on the manual pages for
.Fn BUS_CREATE_INTR
and
.Fn BUS_CONNECT_INTR
written by
.An Doug Rabson .An Doug Rabson
.Aq dfr@FreeBSD.org . .Aq dfr@FreeBSD.org .