Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26511
b: refs/heads/master
c: 61f5657
h: refs/heads/master
i:
  26509: be8e869
  26507: 1d03a6c
  26503: 3ba232c
  26495: 7bd44c4
v: v3
  • Loading branch information
Vitaly Bordug authored and Paul Mackerras committed May 3, 2006
1 parent 9c093ce commit 17c8a79
Show file tree
Hide file tree
Showing 4 changed files with 8 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: 0ccde0a290b44b8296b82a7683b4c299eb51ba6b
refs/heads/master: 61f5657c50341198ff05e375e6f1fc0476556562
6 changes: 5 additions & 1 deletion trunk/drivers/serial/cpm_uart/cpm_uart_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,11 @@ static void cpm_uart_shutdown(struct uart_port *port)
}

/* Shut them really down and reinit buffer descriptors */
cpm_line_cr_cmd(line, CPM_CR_STOP_TX);
if (IS_SMC(pinfo))
cpm_line_cr_cmd(line, CPM_CR_STOP_TX);
else
cpm_line_cr_cmd(line, CPM_CR_GRA_STOP_TX);

cpm_uart_initbd(pinfo);
}
}
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-ppc/commproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#define CPM_CR_INIT_TX ((ushort)0x0002)
#define CPM_CR_HUNT_MODE ((ushort)0x0003)
#define CPM_CR_STOP_TX ((ushort)0x0004)
#define CPM_CR_GRA_STOP_TX ((ushort)0x0005)
#define CPM_CR_RESTART_TX ((ushort)0x0006)
#define CPM_CR_CLOSE_RX_BD ((ushort)0x0007)
#define CPM_CR_SET_GADDR ((ushort)0x0008)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/cpm2.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
#define CPM_CR_INIT_TX ((ushort)0x0002)
#define CPM_CR_HUNT_MODE ((ushort)0x0003)
#define CPM_CR_STOP_TX ((ushort)0x0004)
#define CPM_CR_GRA_STOP_TX ((ushort)0x0005)
#define CPM_CR_GRA_STOP_TX ((ushort)0x0005)
#define CPM_CR_RESTART_TX ((ushort)0x0006)
#define CPM_CR_SET_GADDR ((ushort)0x0008)
#define CPM_CR_START_IDMA ((ushort)0x0009)
Expand Down

0 comments on commit 17c8a79

Please sign in to comment.