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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -11,6 +11,8 @@ · 10 unmodified lines | |||
| 11 | * The type definitions. These are from Ted Ts'o's serial.h | 11 | * The type definitions. These are from Ted Ts'o's serial.h |
| 12 | * By historical reasons the values from 0 to 13 are defined | 12 | * 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 14 | 17 | #define PORT_NS16550A 14 |
| 16 | #define PORT_XSCALE 15 | 18 | #define PORT_XSCALE 15 |