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
56#define PORT_ALTR_16550_F128 28 /* Altera 16550 UART with 128 FIFOs */56#define PORT_ALTR_16550_F128 28 /* Altera 16550 UART with 128 FIFOs */
57#define PORT_RT2880 29 /* Ralink RT2880 internal UART */57#define PORT_RT2880 29 /* Ralink RT2880 internal UART */
58#define PORT_16550A_FSL64 30 /* Freescale 16550 UART with 64 FIFOs */58#define PORT_16550A_FSL64 30 /* Freescale 16550 UART with 64 FIFOs */
59#define PORT_DA830 31 /* TI DA8xx/66AK2x */
60 59
61/*60/*
62 * ARM specific type numbers. These are not currently guaranteed61 * ARM specific type numbers. These are not currently guaranteed
@@ -209,6 +208,9 @@ · 146 unmodified lines
209/* MAX310X */208/* MAX310X */
210#define PORT_MAX310X 94209#define PORT_MAX310X 94
211 210
211/* TI DA8xx/66AK2x */
212#define PORT_DA830 95
213
212/* TI OMAP-UART */214/* TI OMAP-UART */
213#define PORT_OMAP 96215#define PORT_OMAP 96
214 216

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