summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/octeon/dev/cn30xxgmx.c4
-rw-r--r--sys/arch/octeon/dev/octrng.c10
-rw-r--r--sys/arch/octeon/dev/octrtc.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmx.c b/sys/arch/octeon/dev/cn30xxgmx.c
index 06a5baaeb9c..9b3bc66e19f 100644
--- a/sys/arch/octeon/dev/cn30xxgmx.c
+++ b/sys/arch/octeon/dev/cn30xxgmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxgmx.c,v 1.11 2013/10/30 20:48:04 pirofti Exp $ */
+/* $OpenBSD: cn30xxgmx.c,v 1.12 2014/05/07 14:44:54 pirofti Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -1047,7 +1047,7 @@ cn30xxgmx_rgmii_timing(struct cn30xxgmx_port_softc *sc)
clk_rx_setting = 24;
break;
}
-
+
/* board specific overrides */
switch (octeon_boot_info->board_type) {
case BOARD_TYPE_UBIQUITI_E100:
diff --git a/sys/arch/octeon/dev/octrng.c b/sys/arch/octeon/dev/octrng.c
index ace70ce1be9..0210fb65467 100644
--- a/sys/arch/octeon/dev/octrng.c
+++ b/sys/arch/octeon/dev/octrng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octrng.c,v 1.4 2013/11/05 16:37:06 pirofti Exp $ */
+/* $OpenBSD: octrng.c,v 1.5 2014/05/07 14:44:54 pirofti Exp $ */
/*
* Copyright (c) 2013 Paul Irofti <pirofti@openbsd.org>
*
@@ -73,7 +73,7 @@ octrng_match(struct device *parent, void *match, void *aux)
{
struct iobus_attach_args *aa = aux;
struct cfdata *cf = match;
-
+
/* XXX: check for board type */
if (aa->aa_name == NULL ||
@@ -99,7 +99,7 @@ octrng_attach(struct device *parent, struct device *self, void *aux)
printf(": can't map registers");
}
- control_reg = octeon_xkphys_read_8(OCTRNG_CONTROL_ADDR);
+ control_reg = octeon_xkphys_read_8(OCTRNG_CONTROL_ADDR);
control_reg |= (OCTRNG_ENABLE_OUTPUT | OCTRNG_ENABLE_ENTROPY);
octeon_xkphys_write_8(OCTRNG_CONTROL_ADDR, control_reg);
@@ -118,8 +118,8 @@ octrng_rnd(void *arg)
value = bus_space_read_8(sc->sc_iot, sc->sc_ioh, OCTRNG_ENTROPY_REG);
- DPRINTF(("%#llX ", value)); /* WARNING: very verbose */
+ DPRINTF(("%#llX ", value)); /* WARNING: very verbose */
- add_true_randomness(value);
+ add_true_randomness(value);
timeout_add_msec(&sc->sc_to, 10);
}
diff --git a/sys/arch/octeon/dev/octrtc.c b/sys/arch/octeon/dev/octrtc.c
index a7f44f0eea3..035b572b826 100644
--- a/sys/arch/octeon/dev/octrtc.c
+++ b/sys/arch/octeon/dev/octrtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octrtc.c,v 1.1 2014/01/15 10:29:45 pirofti Exp $ */
+/* $OpenBSD: octrtc.c,v 1.2 2014/05/07 14:44:54 pirofti Exp $ */
/*
* Copyright (c) 2013, 2014 Paul Irofti.
@@ -184,7 +184,7 @@ again:
} while (twsi.field.v);
DPRINTF(("%#llX ", twsi.reg));
- /*
+ /*
* The data field is in the upper 32 bits and we're only
* interested in the first byte.
*/