History

serial: pch_uart: Make port type explicit

It used to be a gap in port definitions after PORT_MAX_8250. Since the new drivers are coming the gap become shorter and shorter until the commit a2d6a987bfe4 ("serial: 8250: Add new port type for TI DA8xx/66AK2x") completely removed it. So, while type here is just a formality, make things a little bit more explicit for this driver and move port types to UAPI header. Note, it uses two types for now.

Andy Shevchenko committed 9 years ago

Commit 63e8d431 parent aef3ad12 files · +19 −21Browse files

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

Unified · Split

include/uapi/linux/serial_core.h+4−1
@@ -57,7 +57,6 @@ · 56 unmodified lines
5757 #define PORT_RT2880 29 /* Ralink RT2880 internal UART */
5858 #define PORT_16550A_FSL64 30 /* Freescale 16550 UART with 64 FIFOs */
5959 #define PORT_DA830 31 /* TI DA8xx/66AK2x */
60−#define PORT_MAX_8250 31 /* max port ID */
6160
6261 /*
6362 * ARM specific type numbers. These are not currently guaranteed
@@ -77,6 +76,10 @@ · 13 unmodified lines
7776 #define PORT_SUNZILOG 38
7877 #define PORT_SUNSAB 39
7978
79+/* Intel EG20 */
80+#define PORT_PCH_8LINE 44
81+#define PORT_PCH_2LINE 45
82+
8083 /* DEC */
8184 #define PORT_DZ 46
8285 #define PORT_ZS 47