Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227057
b: refs/heads/master
c: e44dcb6
h: refs/heads/master
i:
  227055: 898a829
v: v3
  • Loading branch information
Wolfram Sang authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent b84d7a8 commit c35c297
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 597c606f560cf7ef6029152fa7574bddbfb0252f
refs/heads/master: e44dcb6c377529805bbaae505d5b333daab69111
6 changes: 5 additions & 1 deletion trunk/drivers/serial/mpc52xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,11 @@ mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new,
static const char *
mpc52xx_uart_type(struct uart_port *port)
{
return port->type == PORT_MPC52xx ? "MPC52xx PSC" : NULL;
/*
* We keep using PORT_MPC52xx for historic reasons although it applies
* for MPC512x, too, but print "MPC5xxx" to not irritate users
*/
return port->type == PORT_MPC52xx ? "MPC5xxx PSC" : NULL;
}

static void
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/serial_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
/* PPC CPM type number */
#define PORT_CPM 58

/* MPC52xx type numbers */
/* MPC52xx (and MPC512x) type numbers */
#define PORT_MPC52xx 59

/* IBM icom */
Expand Down

0 comments on commit c35c297

Please sign in to comment.