diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-05 01:32:23 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-05 01:32:23 +0000 |
commit | afee7e4dddd8da1611b222c473388e5c752e57bd (patch) | |
tree | 087e75bd519b1b746bdc2136994baee7f91ab43b /sys/arch/octeon/dev | |
parent | 0525485fea5917c197235e8ff9865639286860b2 (diff) |
whitespace
Diffstat (limited to 'sys/arch/octeon/dev')
-rw-r--r-- | sys/arch/octeon/dev/cn30xxuart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/octeon/dev/cn30xxuart.c b/sys/arch/octeon/dev/cn30xxuart.c index 5db18e8e04b..1662ed29e87 100644 --- a/sys/arch/octeon/dev/cn30xxuart.c +++ b/sys/arch/octeon/dev/cn30xxuart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cn30xxuart.c,v 1.2 2013/06/02 19:47:32 jasper Exp $ */ +/* $OpenBSD: cn30xxuart.c,v 1.3 2013/06/05 01:32:22 jasper Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -140,7 +140,7 @@ cn30xxuart_attach(struct device *parent, struct device *self, void *aux) /* * Early console routines. */ -int +int cn30xxuart_delay(void) { int divisor; @@ -151,10 +151,10 @@ cn30xxuart_delay(void) delay_changed = 0; lcr = (u_char)*(uint64_t*)OCTEON_MIO_UART0_LCR; *(uint64_t*)OCTEON_MIO_UART0_LCR = lcr | LCR_DLAB; - divisor = (int)(*(uint64_t*)OCTEON_MIO_UART0_DLL | + divisor = (int)(*(uint64_t*)OCTEON_MIO_UART0_DLL | *(uint64_t*)OCTEON_MIO_UART0_DLH << 8); *(uint64_t*)OCTEON_MIO_UART0_LCR = lcr; - + return 10; /* return an approx delay value */ } |