diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-10-31 08:53:26 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-31 08:53:26 -0500 |
commit | 913ade51eca369553a8ffbdaf1f426fade84f6ae (patch) | |
tree | a692ada4da2b0031d7ba941f987c9d8dd7f4e0b1 /include | |
parent | 6a8f8d72bd2fe9964ee10c0f58b14d6370e49769 (diff) |
[SERIAL] Fix port numbering
The PORT_* macros must be uniquely numbered. This fixes the
definitions.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/serial_core.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 2b0401b93f2b..9d2579230689 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -39,8 +39,7 @@ | |||
39 | #define PORT_RSA 13 | 39 | #define PORT_RSA 13 |
40 | #define PORT_NS16550A 14 | 40 | #define PORT_NS16550A 14 |
41 | #define PORT_XSCALE 15 | 41 | #define PORT_XSCALE 15 |
42 | #define PORT_IP3106 16 | 42 | #define PORT_MAX_8250 15 /* max port ID */ |
43 | #define PORT_MAX_8250 16 /* max port ID */ | ||
44 | 43 | ||
45 | /* | 44 | /* |
46 | * ARM specific type numbers. These are not currently guaranteed | 45 | * ARM specific type numbers. These are not currently guaranteed |
@@ -118,7 +117,9 @@ | |||
118 | #define PORT_M32R_SIO 68 | 117 | #define PORT_M32R_SIO 68 |
119 | 118 | ||
120 | /*Digi jsm */ | 119 | /*Digi jsm */ |
121 | #define PORT_JSM 65 | 120 | #define PORT_JSM 69 |
121 | |||
122 | #define PORT_IP3106 70 | ||
122 | 123 | ||
123 | #ifdef __KERNEL__ | 124 | #ifdef __KERNEL__ |
124 | 125 | ||