Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81042
b: refs/heads/master
c: f276b5b
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Dec 11, 2007
1 parent d0b4073 commit 53090c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 6d39635959fe2f072130789a95e11ff97fb27b58
refs/heads/master: f276b5ba0d87eba4ce7aace9608d811776734cb5
10 changes: 5 additions & 5 deletions trunk/arch/powerpc/kernel/udbg_16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct NS16550 {

#define LCR_DLAB 0x80

static volatile struct NS16550 __iomem *udbg_comport;
static struct NS16550 __iomem *udbg_comport;

static void udbg_550_putc(char c)
{
Expand Down Expand Up @@ -117,7 +117,7 @@ unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock)
{
unsigned int dll, dlm, divisor, prescaler, speed;
u8 old_lcr;
volatile struct NS16550 __iomem *port = comport;
struct NS16550 __iomem *port = comport;

old_lcr = in_8(&port->lcr);

Expand Down Expand Up @@ -162,7 +162,7 @@ void udbg_maple_real_putc(char c)

void __init udbg_init_maple_realmode(void)
{
udbg_comport = (volatile struct NS16550 __iomem *)0xf40003f8;
udbg_comport = (struct NS16550 __iomem *)0xf40003f8;

udbg_putc = udbg_maple_real_putc;
udbg_getc = NULL;
Expand All @@ -184,7 +184,7 @@ void udbg_pas_real_putc(char c)

void udbg_init_pas_realmode(void)
{
udbg_comport = (volatile struct NS16550 __iomem *)0xfcff03f8UL;
udbg_comport = (struct NS16550 __iomem *)0xfcff03f8UL;

udbg_putc = udbg_pas_real_putc;
udbg_getc = NULL;
Expand Down Expand Up @@ -219,7 +219,7 @@ static int udbg_44x_as1_getc(void)
void __init udbg_init_44x_as1(void)
{
udbg_comport =
(volatile struct NS16550 __iomem *)PPC44x_EARLY_DEBUG_VIRTADDR;
(struct NS16550 __iomem *)PPC44x_EARLY_DEBUG_VIRTADDR;

udbg_putc = udbg_44x_as1_putc;
udbg_getc = udbg_44x_as1_getc;
Expand Down

0 comments on commit 53090c9

Please sign in to comment.