PR/49326: Henning Petersen: Correct errors in man pages csf.9 , pci.9 and ucom.9

This commit is contained in:
christos 2014-10-27 12:02:17 +00:00
parent d94836d412
commit 43a4fb99bc
3 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: csf.9,v 1.7 2010/12/02 12:54:13 wiz Exp $
.\" $NetBSD: csf.9,v 1.8 2014/10/27 12:02:17 christos Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd September 2, 2009
.Dd October 27, 2014
.Dt CSF 9
.Os
.Sh NAME
@ -140,7 +140,7 @@ in order to handle priority adjustment.
.El
.Ss Priority adjustment
.Bl -tag -width compact
.It Ft void Fn sched_nice "struct proc *, int"
.It Ft void Fn sched_nice "struct proc *" "int"
Recalculate the process priority according to its nice value.
.El
.Ss General helper functions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pci.9,v 1.36 2012/01/30 19:20:13 drochner Exp $
.\" $NetBSD: pci.9,v 1.37 2014/10/27 12:02:17 christos Exp $
.\"
.\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd January 30, 2012
.Dd October 27, 2014
.Dt PCI 9
.Os
.Sh NAME
@ -73,8 +73,8 @@
"int maxdevs"
.Ft int
.Fn pci_activate "pci_chipset_tag_t pc" "pcitag_t tag" "device_t dev" \
"int (*wakeup)(pci_chipset_tag_t pc, pcitag_t tag" \
"\t\tdevice_t dev, pcireg_t reg)"
"int (*wakeup)(pci_chipset_tag_t pc" "pcitag_t tag" \
"\t\tdevice_t dev" "pcireg_t reg)"
.Ft int
.Fn pci_chipset_tag_create "pci_chipset_tag_t opc" "uint64_t present" \
"const struct pci_overrides *ov" "void *ctx" "pci_chipset_tag_t *pcp"
@ -87,7 +87,7 @@
"pcireg_t val"
.Ft void
.Fn pci_conf_print "pci_chipset_tag_t pc" "pcitag_t tag" \
"void (*func)(pci_chipset_tag_t, pcitag_t, const pcireg_t *)"
"void (*func)(pci_chipset_tag_t" "pcitag_t" "const pcireg_t *)"
.Ft void
.Fn pci_conf_capture "pci_chipset_tag_t pc" "pcitag_t tag" \
"struct pci_conf_state *"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ucom.9,v 1.16 2012/08/05 01:58:36 riastradh Exp $
.\" $NetBSD: ucom.9,v 1.17 2014/10/27 12:02:17 christos Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd July 9, 2012
.Dd October 27, 2014
.Dt UCOM 9
.Os
.Sh NAME
@ -140,7 +140,7 @@ struct ucom_methods {
.Ed
.Pp
.Bl -tag -width indent
.It Fn "void (*ucom_get_status)" "void *sc, int portno, u_char *lsr, u_char *msr"
.It Fn "void (*ucom_get_status)" "void *sc" "int portno" "u_char *lsr" "u_char *msr"
get the status of port
.Fa portno .
The status consists of the line status,
@ -148,33 +148,33 @@ The status consists of the line status,
and the modem status
.Fa msr .
The contents of these two bytes is exactly as for a 16550 UART.
.It Fn "void (*ucom_set)" "void *sc, int portno, int reg, int onoff"
.It Fn "void (*ucom_set)" "void *sc" "int portno" "int reg" "int onoff"
Set (or unset) a particular feature of a port.
.It Fn "int (*ucom_param)" "void *sc, int portno, struct termios *t"
.It Fn "int (*ucom_param)" "void *sc" "int portno" "struct termios *t"
Set the speed, number of data bit, stop bits, and parity of a port
according to the
.Xr termios 4
struct.
.It Fn "int (*ucom_ioctl)" "void *sc, int portno, u_long cmd, void *data, int flag, struct lwp *l"
.It Fn "int (*ucom_ioctl)" "void *sc" "int portno" "u_long cmd" "void *data" "int flag" "struct lwp *l"
implements any non-standard
.Xr ioctl 2
that a device needs.
.It Fn "int (*ucom_open)" "void *sc, int portno"
.It Fn "int (*ucom_open)" "void *sc" "int portno"
called just before the
.Nm
driver opens the bulk pipes for the port.
.It Fn "void (*ucom_close)" "void *sc, int portno"
.It Fn "void (*ucom_close)" "void *sc" "int portno"
called just after the
.Nm
driver closes the bulk pipes for the port.
.It Fn "void (*ucom_read)" "void *sc, int portno, u_char **ptr, uint32_t *count"
.It Fn "void (*ucom_read)" "void *sc" "int portno" "u_char **ptr" "uint32_t *count"
if the data delivered on the bulk pipe is not just the raw input characters
this routine needs to increment
.Fa ptr
by as many characters to skip from the start of the raw input and decrement
.Fa count
by as many characters to truncate from the end of the raw input.
.It Fn "void (*ucom_write)" "void *sc, int portno, u_char *dst, u_char *src, uint32_t *count"
.It Fn "void (*ucom_write)" "void *sc" "int portno" "u_char *dst" "u_char *src" "uint32_t *count"
if the data written to the bulk pipe is not just the raw characters then
this routine needs to copy
.Fa count