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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -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 guaranteed | 61 | * ARM specific type numbers. These are not currently guaranteed |
| @@ -209,6 +208,9 @@ · 146 unmodified lines | |||
| 209 | /* MAX310X */ | 208 | /* MAX310X */ |
| 210 | #define PORT_MAX310X 94 | 209 | #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 96 | 215 | #define PORT_OMAP 96 |
| 214 | 216 | ||