Skip to content

Commit 00c77bc

Browse files
Wolfram Sanggregkh
authored andcommitted
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. Signed-off-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b02d006 commit 00c77bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/uapi/linux/serial_core.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* The type definitions. These are from Ted Ts'o's serial.h
1212
* By historical reasons the values from 0 to 13 are defined
1313
* 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.
1416
*/
1517
#define PORT_NS16550A 14
1618
#define PORT_XSCALE 15

0 commit comments

Comments
 (0)