| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: com.4,v 1.13 2007/06/01 11:24:22 jnemeth Exp $ | | 1 | .\" $NetBSD: com.4,v 1.14 2009/05/13 12:40:37 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to Berkeley by | | 6 | .\" This code is derived from software contributed to Berkeley by |
7 | .\" the Systems Programming Group of the University of Utah Computer | | 7 | .\" the Systems Programming Group of the University of Utah Computer |
8 | .\" Science Department. | | 8 | .\" Science Department. |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -63,55 +63,63 @@ | | | @@ -63,55 +63,63 @@ |
63 | .Ss IBM PowerPC 4xx | | 63 | .Ss IBM PowerPC 4xx |
64 | .Cd "com* at opb?" | | 64 | .Cd "com* at opb?" |
65 | .Ss SPARC | | 65 | .Ss SPARC |
66 | .Cd "com* at ebus?" | | 66 | .Cd "com* at ebus?" |
67 | .Cd "com* at obio0" | | 67 | .Cd "com* at obio0" |
68 | .Sh DESCRIPTION | | 68 | .Sh DESCRIPTION |
69 | The | | 69 | The |
70 | .Nm | | 70 | .Nm |
71 | driver provides support for NS8250-, NS16450-, and NS16550-based | | 71 | driver provides support for NS8250-, NS16450-, and NS16550-based |
72 | .Tn EIA | | 72 | .Tn EIA |
73 | .Tn RS-232C | | 73 | .Tn RS-232C |
74 | .Pf ( Tn CCITT | | 74 | .Pf ( Tn CCITT |
75 | .Tn V.28 ) | | 75 | .Tn V.28 ) |
76 | communications interfaces. The NS8250 and NS16450 have single character | | 76 | communications interfaces. |
| | | 77 | The NS8250 and NS16450 have single character |
77 | buffers, and the NS16550 has a 16 character buffer. | | 78 | buffers, and the NS16550 has a 16 character buffer. |
78 | .Pp | | 79 | .Pp |
79 | Input and output for each line may set to one of following baud rates; | | 80 | Input and output for each line may set to one of following baud rates; |
80 | 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600, | | 81 | 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600, |
81 | 19200, 38400, 57600, or 115200, or any other baud rate which is a factor | | 82 | 19200, 38400, 57600, or 115200, or any other baud rate which is a factor |
82 | of 115200. | | 83 | of 115200. |
83 | .Pp | | 84 | .Pp |
84 | The ttyXX devices are traditional dial-in devices; the dtyXX devices are | | 85 | The ttyXX devices are traditional dial-in devices; the dtyXX devices are |
85 | used for dial-out. (See | | 86 | used for dial-out. |
| | | 87 | (See |
86 | .Xr tty 4 . ) | | 88 | .Xr tty 4 . ) |
87 | .Pp | | 89 | .Pp |
88 | The | | 90 | .Cd options COM_HAYESP |
89 | .Va COM_HAYESP | | 91 | adds support for the Hayes ESP serial board. |
90 | kernel option adds support for the Hayes ESP serial board. | | | |
91 | .Pp | | 92 | .Pp |
92 | With options RND_COM enabled, the | | 93 | With |
| | | 94 | .Cd options RND_COM |
| | | 95 | enabled, the |
93 | .Nm | | 96 | .Nm |
94 | driver can be used to collect entropy for the | | 97 | driver can be used to collect entropy for the |
95 | .Xr rnd 4 | | 98 | .Xr rnd 4 |
96 | entropy pool. The entropy is generated from interrupt randomness. | | 99 | entropy pool. |
| | | 100 | The entropy is generated from interrupt randomness. |
97 | .Ss Arm32 specific | | 101 | .Ss Arm32 specific |
98 | If | | 102 | If |
99 | .Dq flags 1 | | 103 | .Dq flags 1 |
100 | is specified, the | | 104 | is specified, the |
101 | .Nm | | 105 | .Nm |
102 | driver will not set the MCR_IENABLE bit on the UART. This is mainly for | | 106 | driver will not set the |
103 | use on AST multiport boards, where the MCR_IENABLE bit is used to control | | 107 | .Dv MCR_IENABLE |
104 | whether or not the devices use a shared interrupt. | | 108 | bit on the UART. |
| | | 109 | This is mainly for use on AST multiport boards, where the |
| | | 110 | .Dv MCR_IENABLE |
| | | 111 | bit is used to control whether or not the devices use a shared |
| | | 112 | interrupt. |
105 | .Sh FILES | | 113 | .Sh FILES |
106 | .Bl -tag -width Pa -compact | | 114 | .Bl -tag -width Pa -compact |
107 | .It Pa /dev/dty00 | | 115 | .It Pa /dev/dty00 |
108 | .It Pa /dev/dty01 | | 116 | .It Pa /dev/dty01 |
109 | .It Pa /dev/dty02 | | 117 | .It Pa /dev/dty02 |
110 | .It Pa /dev/tty00 | | 118 | .It Pa /dev/tty00 |
111 | .It Pa /dev/tty01 | | 119 | .It Pa /dev/tty01 |
112 | .It Pa /dev/tty02 | | 120 | .It Pa /dev/tty02 |
113 | .El | | 121 | .El |
114 | .Sh DIAGNOSTICS | | 122 | .Sh DIAGNOSTICS |
115 | .Bl -diag | | 123 | .Bl -diag |
116 | .It com%d: %d silo overflows | | 124 | .It com%d: %d silo overflows |
117 | The input | | 125 | The input |