History

tty: Document defunct ASYNC_* bits in uapi header

Note the serial_struct flags for which the kernel ignores and performs no action. The flags cannot be removed since they form part of the userspace interface via the TIOCSSERIAL/TIOCGSERIAL ioctls.

Peter Hurley committed 12 years ago

Commit 352f8611 parent 904326e1 file · +5 −4Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/tty_flags.h+5−4
@@ -8,6 +8,7 @@ · 7 unmodified lines
8 * Define ASYNCB_* for convenient use with {test,set,clear}_bit.8 * Define ASYNCB_* for convenient use with {test,set,clear}_bit.
9 *9 *
10 * Bits [0..ASYNCB_LAST_USER] are userspace defined/visible/changeable10 * Bits [0..ASYNCB_LAST_USER] are userspace defined/visible/changeable
11 * [x] in the bit comments indicates the flag is defunct and no longer used.
11 */12 */
12#define ASYNCB_HUP_NOTIFY 0 /* Notify getty on hangups and closes13#define ASYNCB_HUP_NOTIFY 0 /* Notify getty on hangups and closes
13 * on the callout port */14 * on the callout port */
@@ -19,15 +20,15 @@ · 5 unmodified lines
19#define ASYNCB_SKIP_TEST 6 /* Skip UART test during autoconfiguration */20#define ASYNCB_SKIP_TEST 6 /* Skip UART test during autoconfiguration */
20#define ASYNCB_AUTO_IRQ 7 /* Do automatic IRQ during21#define ASYNCB_AUTO_IRQ 7 /* Do automatic IRQ during
21 * autoconfiguration */22 * autoconfiguration */
22#define ASYNCB_SESSION_LOCKOUT 8 /* Lock out cua opens based on session */23#define ASYNCB_SESSION_LOCKOUT 8 /* [x] Lock out cua opens based on session */
23#define ASYNCB_PGRP_LOCKOUT 9 /* Lock out cua opens based on pgrp */24#define ASYNCB_PGRP_LOCKOUT 9 /* [x] Lock out cua opens based on pgrp */
24#define ASYNCB_CALLOUT_NOHUP 10 /* Don't do hangups for cua device */25#define ASYNCB_CALLOUT_NOHUP 10 /* [x] Don't do hangups for cua device */
25#define ASYNCB_HARDPPS_CD 11 /* Call hardpps when CD goes high */26#define ASYNCB_HARDPPS_CD 11 /* Call hardpps when CD goes high */
26#define ASYNCB_SPD_SHI 12 /* Use 230400 instead of 38400 bps */27#define ASYNCB_SPD_SHI 12 /* Use 230400 instead of 38400 bps */
27#define ASYNCB_LOW_LATENCY 13 /* Request low latency behaviour */28#define ASYNCB_LOW_LATENCY 13 /* Request low latency behaviour */
28#define ASYNCB_BUGGY_UART 14 /* This is a buggy UART, skip some safety29#define ASYNCB_BUGGY_UART 14 /* This is a buggy UART, skip some safety
29 * checks. Note: can be dangerous! */30 * checks. Note: can be dangerous! */
30#define ASYNCB_AUTOPROBE 15 /* Port was autoprobed by PCI or PNP code */31#define ASYNCB_AUTOPROBE 15 /* [x] Port was autoprobed by PCI/PNP code */
31#define ASYNCB_MAGIC_MULTIPLIER 16 /* Use special CLK or divisor */32#define ASYNCB_MAGIC_MULTIPLIER 16 /* Use special CLK or divisor */
32#define ASYNCB_LAST_USER 1633#define ASYNCB_LAST_USER 16
33 34

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t