Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/share/man/man9 Pull up revisions 1.3-1.4 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/734006e88a76
branches: netbsd-1-5
changeset: 491438:734006e88a76
user: he <he%NetBSD.org@localhost>
date: Thu Apr 26 12:35:36 2001 +0000
description:
Pull up revisions 1.3-1.4 (requested by wiz):
Correct ioctl(2) reference and correct a typo.
diffstat:
share/man/man9/ucom.9 | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (62 lines):
diff -r 707ef8e6368b -r 734006e88a76 share/man/man9/ucom.9
--- a/share/man/man9/ucom.9 Thu Apr 26 12:31:59 2001 +0000
+++ b/share/man/man9/ucom.9 Thu Apr 26 12:35:36 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ucom.9,v 1.2 2000/04/28 09:37:43 drochner Exp $
+.\" $NetBSD: ucom.9,v 1.2.4.1 2001/04/26 12:35:36 he Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -49,11 +49,11 @@
It basically takes two bulk pipes, input and output, and makes
a tty out of them.
This is useful for a number of device types, e.g., serial ports
-(
-.Xr uftdt 4 ),
-modems (
+(see
+.Xr uftdi 4 ),
+modems (see
.Xr umodem 4 ),
-and devices that traditionally look like a tty (
+and devices that traditionally look like a tty (see
.Xr uvisor 4 ).
.Pp
Communication between the real driver and the
@@ -125,18 +125,18 @@
driver will use a sensible default.
.Bd -literal
struct ucom_methods {
- void (*ucom_get_status)__P((void *sc, int portno,
+ void (*ucom_get_status)__P((void *sc, int portno,
u_char *lsr, u_char *msr));
void (*ucom_set)__P((void *sc, int portno, int reg, int onoff));
#define UCOM_SET_DTR 1
#define UCOM_SET_RTS 2
#define UCOM_SET_BREAK 3
int (*ucom_param)__P((void *sc, int portno, struct termios *));
- int (*ucom_ioctl)__P((void *sc, int portno, u_long cmd,
+ int (*ucom_ioctl)__P((void *sc, int portno, u_long cmd,
caddr_t data, int flag, struct proc *p));
int (*ucom_open)__P((void *sc, int portno));
void (*ucom_close)__P((void *sc, int portno));
- void (*ucom_read)__P((void *sc, int portno, u_char **ptr,
+ void (*ucom_read)__P((void *sc, int portno, u_char **ptr,
u_int32_t *count));
void (*ucom_write)__P((void *sc, int portno, u_char *to,
u_char *from, u_int32_t *count));
@@ -156,12 +156,12 @@
Set (or unset) a particular feature of a port.
.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
+according to the
.Xr termios 4
struct.
.It Fn "int (*ucom_ioctl)" "void *sc, int portno, u_long cmd, caddr_t data, int flag, struct proc *p"
implements any non-standard
-.Xr ioctl 4
+.Xr ioctl 2
that a device needs.
.It Fn "int (*ucom_open)" "void *sc, int portno"
called just before the
Home |
Main Index |
Thread Index |
Old Index