Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364280
b: refs/heads/master
c: 9f1ca06
h: refs/heads/master
v: v3
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent e2e0628 commit 90a670c
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 6a3f45dccfa3db4de43aabc2f75a337e878f9b4b
refs/heads/master: 9f1ca068ea9968e2bde4a2418d97fcd89005f4bf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Optional properties:
RTAS and should not be registered.
- no-loopback-test: set to indicate that the port does not implements loopback
test mode
- fifo-size: the fifo size of the UART.

Example:

Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/tty/serial/of_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ static int of_platform_serial_setup(struct platform_device *ofdev,
if (of_property_read_u32(np, "reg-shift", &prop) == 0)
port->regshift = prop;

/* Check for fifo size */
if (of_property_read_u32(np, "fifo-size", &prop) == 0)
port->fifosize = prop;

port->irq = irq_of_parse_and_map(np, 0);
port->iotype = UPIO_MEM;
if (of_property_read_u32(np, "reg-io-width", &prop) == 0) {
Expand Down

0 comments on commit 90a670c

Please sign in to comment.