Module Name: src Committed By: skrll Date: Tue Jan 8 12:13:59 UTC 2013
Modified Files: src/sys/arch/arm/broadcom: bcm2835_tmr.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/broadcom/bcm2835_tmr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/broadcom/bcm2835_tmr.c diff -u src/sys/arch/arm/broadcom/bcm2835_tmr.c:1.2 src/sys/arch/arm/broadcom/bcm2835_tmr.c:1.3 --- src/sys/arch/arm/broadcom/bcm2835_tmr.c:1.2 Wed Nov 21 08:47:13 2012 +++ src/sys/arch/arm/broadcom/bcm2835_tmr.c Tue Jan 8 12:13:58 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: bcm2835_tmr.c,v 1.2 2012/11/21 08:47:13 skrll Exp $ */ +/* $NetBSD: bcm2835_tmr.c,v 1.3 2013/01/08 12:13:58 skrll Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.2 2012/11/21 08:47:13 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.3 2013/01/08 12:13:58 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -59,7 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr. static const uint32_t counts_per_usec = (BCM2835_STIMER_HZ / 1000000); static uint32_t counts_per_hz = ~0; - + struct bcm2835tmr_softc { device_t sc_dev; @@ -113,7 +113,7 @@ bcmtmr_attach(device_t parent, device_t if (bcm2835tmr_sc == NULL) bcm2835tmr_sc = sc; - + sc->sc_dev = self; sc->sc_iot = aaa->aaa_iot; @@ -122,7 +122,7 @@ bcmtmr_attach(device_t parent, device_t aprint_error_dev(sc->sc_dev, "unable to map device\n"); return; } - + bcm2835tmr_timecounter.tc_name = device_xname(self); } @@ -132,7 +132,7 @@ cpu_initclocks(void) struct bcm2835tmr_softc *sc = bcm2835tmr_sc; void *clock_ih; uint32_t stcl; - + KASSERT(sc != NULL); bcm2835tmr_timecounter.tc_priv = sc; @@ -179,7 +179,7 @@ delay(unsigned int n) usecs += delta / counts_per_usec; delta %= counts_per_usec; } - } + } } @@ -194,7 +194,7 @@ clockhandler(void *arg) struct bcm2835tmr_softc *sc = bcm2835tmr_sc; struct clockframe *frame = arg; uint32_t curr, status; - + status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, BCM2835_STIMER_CS);