NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/49326: Correct errors in man pages csf.9 , pci.9 and ucom.9



>Number:         49326
>Category:       misc
>Synopsis:       Correct errors in man pages csf.9 , pci.9 and ucom.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 07:25:00 +0000 2014
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
Correct errors in man pages csf.9 , pci.9 and ucom.9 .
>How-To-Repeat:

>Fix:
diff -u -p -r1.7 csf.9
--- share/man/man9/csf.9	2 Dec 2010 12:54:13 -0000	1.7
+++ share/man/man9/csf.9	27 Oct 2014 06:40:16 -0000
@@ -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
===================================================================
diff -u -p -r1.36 pci.9
--- share/man/man9/pci.9	30 Jan 2012 19:20:13 -0000	1.36
+++ share/man/man9/pci.9	27 Oct 2014 06:40:16 -0000
@@ -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 *"
Index: share/man/man9/pfil.9
===================================================================
diff -u -p -r1.16 ucom.9
--- share/man/man9/ucom.9	5 Aug 2012 01:58:36 -0000	1.16
+++ share/man/man9/ucom.9	27 Oct 2014 06:40:16 -0000
@@ -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" 



Home | Main Index | Thread Index | Old Index