Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26647
b: refs/heads/master
c: 85835f4
h: refs/heads/master
i:
  26645: 160c2f0
  26643: b559796
  26639: 379d076
v: v3
  • Loading branch information
Sergei Shtylyov authored and Russell King committed Apr 30, 2006
1 parent 79d83eb commit c11c344
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 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: 68ac64cd3fd89fdaa091701f6ab98a9065e9b1b5
refs/heads/master: 85835f442e5bbf9d3b8f6e574751da8db77016d2
6 changes: 6 additions & 0 deletions trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,9 @@ static int serial8250_request_std_resource(struct uart_8250_port *up)
int ret = 0;

switch (up->port.iotype) {
case UPIO_AU:
size = 0x100000;
/* fall thru */
case UPIO_MEM:
if (!up->port.mapbase)
break;
Expand Down Expand Up @@ -1938,6 +1941,9 @@ static void serial8250_release_std_resource(struct uart_8250_port *up)
unsigned int size = 8 << up->port.regshift;

switch (up->port.iotype) {
case UPIO_AU:
size = 0x100000;
/* fall thru */
case UPIO_MEM:
if (!up->port.mapbase)
break;
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/serial/8250_au1x00.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@
{ \
.iobase = _base, \
.membase = (void __iomem *)_base,\
.mapbase = _base, \
.mapbase = CPHYSADDR(_base), \
.irq = _irq, \
.uartclk = 0, /* filled */ \
.regshift = 2, \
.iotype = UPIO_AU, \
.flags = UPF_SKIP_TEST | \
UPF_IOREMAP, \
.flags = UPF_SKIP_TEST \
}

static struct plat_serial8250_port au1x00_data[] = {
Expand Down

0 comments on commit c11c344

Please sign in to comment.