Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179293
b: refs/heads/master
c: 75136d4
h: refs/heads/master
i:
  179291: bbbbf8b
v: v3
  • Loading branch information
Markus Pietrek authored and Paul Mundt committed Jan 14, 2010
1 parent d4dfc52 commit 467a113
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 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: ea4407834118405ef419e9b07794ceacadc01bae
refs/heads/master: 75136d48e85915fd78a072f22897622b5d4c1814
13 changes: 12 additions & 1 deletion trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,18 @@ static void __devinit sci_init_single(struct platform_device *dev,
sci_port->port.ops = &sci_uart_ops;
sci_port->port.iotype = UPIO_MEM;
sci_port->port.line = index;
sci_port->port.fifosize = 1;

switch (p->type) {
case PORT_SCIFA:
sci_port->port.fifosize = 64;
break;
case PORT_SCIF:
sci_port->port.fifosize = 16;
break;
default:
sci_port->port.fifosize = 1;
break;
}

if (dev) {
sci_port->iclk = p->clk ? clk_get(&dev->dev, p->clk) : NULL;
Expand Down

0 comments on commit 467a113

Please sign in to comment.