History

serial: Fix port type numbering for TI DA8xx

The UAPI has a global list of unique numbers for different port types. The commit a2d6a987bfe4 ("serial: 8250: Add new port type for TI DA8xx/66AK2x") introduced a new port type and brought the collision with two other port types. Reuse 95 for it instead.

Andy Shevchenko committed 9 years ago

Commit ee1c90c1 parent 3f3dac71 file · +3 −1Browse files

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

Unified · Split

include/uapi/linux/serial_core.h+3−1
@@ -56,7 +56,6 @@ · 55 unmodified lines
5656 #define PORT_ALTR_16550_F128 28 /* Altera 16550 UART with 128 FIFOs */
5757 #define PORT_RT2880 29 /* Ralink RT2880 internal UART */
5858 #define PORT_16550A_FSL64 30 /* Freescale 16550 UART with 64 FIFOs */
59−#define PORT_DA830 31 /* TI DA8xx/66AK2x */
6059
6160 /*
6261 * ARM specific type numbers. These are not currently guaranteed
@@ -209,6 +208,9 @@ · 146 unmodified lines
209208 /* MAX310X */
210209 #define PORT_MAX310X 94
211210
211+/* TI DA8xx/66AK2x */
212+#define PORT_DA830 95
213+
212214 /* TI OMAP-UART */
213215 #define PORT_OMAP 96
214216

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