com2 Device Driver com2
Device driver for asynchronous serial line COM2
/dev/com2 is the COHERENT system's standard interface to
asynchronous serial line COM2. The interface is assigned major
device 6, and is accessed as a character-special device. The I/O
address for the corresponding 8250 SIO is 0x2F8 (COM2). com2
generates interrupt IRQ3.
Four versions of device com2 are in directory /dev, as follows:
Modem
Device Name Major Minor I/O Type Control?
/dev/com2l 6 128 Interrupts No
/dev/com2r 6 0 Interrupts Yes
/dev/com2pl 6 192 Polled No
/dev/com2pr 6 64 Polled Yes
For details on how these differ, see the entry for com.
***** Files *****
/dev/com2l -- Interrupt-driven, non-modem (local) line
/dev/com2r -- Interrupt-driven, modem (non-local) line
/dev/P
col
m2
le
pd
l,-πon-modem (local) line
/dev/com2pr -- Polled, modem (non-local) line
***** See Also *****
com, com4, stty
COHERENT Lexicon Page 1