History

serial: core: add comment about definitely used port types

When port type 18 was removed, it was deduced that the code could go but its define has to stay because it is used in userspace. Share that knowledge by adding a comment about it.

Wolfram Sang committed 3 years ago

Commit 00c77bc1 parent b02d0061 file · +2 −0Browse files

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

Unified · Split

include/uapi/linux/serial_core.h+2−0
@@ -11,6 +11,8 @@ · 10 unmodified lines
11 * The type definitions. These are from Ted Ts'o's serial.h11 * The type definitions. These are from Ted Ts'o's serial.h
12 * By historical reasons the values from 0 to 13 are defined12 * By historical reasons the values from 0 to 13 are defined
13 * in the include/uapi/linux/serial.h, do not define them here.13 * in the include/uapi/linux/serial.h, do not define them here.
14 * Values 0 to 19 are used by setserial from busybox and must never
15 * be modified.
14 */16 */
15#define PORT_NS16550A 1417#define PORT_NS16550A 14
16#define PORT_XSCALE 1518#define PORT_XSCALE 15

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