Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113414
b: refs/heads/master
c: b3ef5ab
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Linus Torvalds committed Oct 13, 2008
1 parent 1d0c2e0 commit ce88e92
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ffdeea2f99ed9d46bf954c9fdc64da7da57e81b
refs/heads/master: b3ef5aba64aed5be0fccca3ff39c8f2282111ce5
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

struct bfin_serial_port {
struct uart_port port;
unsigned int old_status;
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

struct bfin_serial_port {
struct uart_port port;
unsigned int old_status;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
val |= UCEN;
UART_PUT_GCTL(uart, val);

/* Port speed changed, update the per-port timeout. */
uart_update_timeout(port, termios->c_cflag, baud);

spin_unlock_irqrestore(&uart->port.lock, flags);
}

Expand Down Expand Up @@ -865,6 +868,7 @@ static void __init bfin_serial_init_ports(void)

for (i = 0; i < nr_active_ports; i++) {
bfin_serial_ports[i].port.uartclk = get_sclk();
bfin_serial_ports[i].port.fifosize = BFIN_UART_TX_FIFO_SIZE;
bfin_serial_ports[i].port.ops = &bfin_serial_pops;
bfin_serial_ports[i].port.line = i;
bfin_serial_ports[i].port.iotype = UPIO_MEM;
Expand Down

0 comments on commit ce88e92

Please sign in to comment.