Skip to content

Commit

Permalink
[SERIAL] Fix port numbering
Browse files Browse the repository at this point in the history
The PORT_* macros must be uniquely numbered.  This fixes the
definitions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Oct 31, 2005
1 parent 6a8f8d7 commit 913ade5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/linux/serial_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
#define PORT_RSA 13
#define PORT_NS16550A 14
#define PORT_XSCALE 15
#define PORT_IP3106 16
#define PORT_MAX_8250 16 /* max port ID */
#define PORT_MAX_8250 15 /* max port ID */

/*
* ARM specific type numbers. These are not currently guaranteed
Expand Down Expand Up @@ -118,7 +117,9 @@
#define PORT_M32R_SIO 68

/*Digi jsm */
#define PORT_JSM 65
#define PORT_JSM 69

#define PORT_IP3106 70

#ifdef __KERNEL__

Expand Down

0 comments on commit 913ade5

Please sign in to comment.