Page MenuHomeFreeBSD

D13961.id38173.diff
No OneTemporary

D13961.id38173.diff

Index: book.xml.moresio
===================================================================
--- book.xml.moresio
+++ book.xml.moresio
@@ -6320,12 +6320,11 @@
<para>This example shows two serial ports. The first is on
IRQ4, port address
- <literal>0x3f8</literal>, and has a 16550A-type UART chip.
- The second uses the same kind of chip but is on
- IRQ3 and is at port address
- <literal>0x2f8</literal>. Internal modem cards are
- treated just like serial ports, except that they
- always have a modem attached to the
+ <literal>0x3f8</literal>, and has a 16550 or a 16550-compatible
+ UART chip. The second uses the same kind of chip but is on
+ IRQ3 and is at port address <literal>0x2f8</literal>.
+ Internal modem cards are treated just like serial ports,
+ except that the always have a modem attached to the
port.</para>
<para>The <filename>GENERIC</filename> kernel includes
@@ -6347,22 +6346,22 @@
<answer>
<para>The third serial port, <filename>sio2</filename>,
or <filename>COM3</filename>,
- is on <filename>/dev/cuad2</filename> for dial-out
- devices, and on <filename>/dev/ttyd2</filename> for
+ is on <filename>/dev/cuau2</filename> for dial-out
+ devices, and on <filename>/dev/ttyv2</filename> for
dial-in devices. What is the difference between these two
classes of devices?</para>
<para>When
- opening <filename>/dev/ttydX</filename> in blocking mode,
+ opening <filename>/dev/ttyvX</filename> in blocking mode,
a process will wait for the corresponding
- <filename>cuadX</filename> device to become inactive, and
+ <filename>cuauX</filename> device to become inactive, and
then wait for the carrier detect line to go active. When
- the <filename>cuadX</filename> device is opened, it makes
+ the <filename>cuauX</filename> device is opened, it makes
sure the serial port is not already in use by the
- <filename>ttydX</filename> device. If the port is
+ <filename>ttyvX</filename> device. If the port is
available, it steals it from the
- <filename>ttydX</filename> device. Also, the
- <filename>cuadX</filename> device does not care about
+ <filename>ttyvX</filename> device. Also, the
+ <filename>cuauX</filename> device does not care about
carrier detect. With this scheme and an auto-answer
modem, remote users can log in and local users can still
dial out with the same modem and the system will take care

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 19, 12:00 AM (17 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28860225
Default Alt Text
D13961.id38173.diff (2 KB)

Event Timeline