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
88 * Define ASYNCB_* for convenient use with {test,set,clear}_bit.
99 *
1010 * 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.
1112 */
1213 #define ASYNCB_HUP_NOTIFY 0 /* Notify getty on hangups and closes
1314 * on the callout port */
@@ -19,15 +20,15 @@ · 5 unmodified lines
1920 #define ASYNCB_SKIP_TEST 6 /* Skip UART test during autoconfiguration */
2021 #define ASYNCB_AUTO_IRQ 7 /* Do automatic IRQ during
2122 * autoconfiguration */
22−#define ASYNCB_SESSION_LOCKOUT 8 /* Lock out cua opens based on session */
23−#define ASYNCB_PGRP_LOCKOUT 9 /* Lock out cua opens based on pgrp */
24−#define ASYNCB_CALLOUT_NOHUP 10 /* Don't do hangups for cua device */
23+#define ASYNCB_SESSION_LOCKOUT 8 /* [x] Lock out cua opens based on session */
24+#define ASYNCB_PGRP_LOCKOUT 9 /* [x] Lock out cua opens based on pgrp */
25+#define ASYNCB_CALLOUT_NOHUP 10 /* [x] Don't do hangups for cua device */
2526 #define ASYNCB_HARDPPS_CD 11 /* Call hardpps when CD goes high */
2627 #define ASYNCB_SPD_SHI 12 /* Use 230400 instead of 38400 bps */
2728 #define ASYNCB_LOW_LATENCY 13 /* Request low latency behaviour */
2829 #define ASYNCB_BUGGY_UART 14 /* This is a buggy UART, skip some safety
2930 * 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 */
3132 #define ASYNCB_MAGIC_MULTIPLIER 16 /* Use special CLK or divisor */
3233 #define ASYNCB_LAST_USER 16
3334

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