Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/1f13bb5b01b6
branches:  trunk
changeset: 1017676:1f13bb5b01b6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 04 15:13:50 2021 +0000

description:
Trailing whitespace

diffstat:

 sys/arch/arm/xscale/pxa2x0_intr.c |  12 ++++++------
 sys/arch/sparc64/doc/TODO         |   4 ++--
 sys/dev/ic/wdc.c                  |  38 +++++++++++++++++++-------------------
 3 files changed, 27 insertions(+), 27 deletions(-)

diffs (184 lines):

diff -r b10f942c5db6 -r 1f13bb5b01b6 sys/arch/arm/xscale/pxa2x0_intr.c
--- a/sys/arch/arm/xscale/pxa2x0_intr.c Mon Jan 04 15:13:06 2021 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_intr.c Mon Jan 04 15:13:50 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pxa2x0_intr.c,v 1.22 2021/01/04 15:13:06 skrll Exp $   */
+/*     $NetBSD: pxa2x0_intr.c,v 1.23 2021/01/04 15:13:50 skrll Exp $   */
 
 /*
  * Copyright (c) 2002  Genetec Corporation.  All rights reserved.
@@ -16,7 +16,7 @@
  *    must display the following acknowledgement:
  *     This product includes software developed for the NetBSD Project by
  *     Genetec Corporation.
- * 4. The name of Genetec Corporation may not be used to endorse or 
+ * 4. The name of Genetec Corporation may not be used to endorse or
  *    promote products derived from this software without specific prior
  *    written permission.
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.22 2021/01/04 15:13:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_intr.c,v 1.23 2021/01/04 15:13:50 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -70,7 +70,7 @@
 static void init_interrupt_masks(void);
 
 /*
- * interrupt dispatch table. 
+ * interrupt dispatch table.
  */
 #ifdef MULTIPLE_HANDLERS_ON_ONE_IRQ
 struct intrhand {
@@ -173,14 +173,14 @@
                /* Enable interrupt */
 #endif
 #ifndef MULTIPLE_HANDLERS_ON_ONE_IRQ
-               (* handler[irqno].func)( 
+               (* handler[irqno].func)(
                        handler[irqno].cookie == 0
                        ? frame : handler[irqno].cookie );
 #else
                /* process all handlers for this interrupt.
                   XXX not yet */
 #endif
-               
+
 #ifdef notyet
                /* Disable interrupt */
 #endif
diff -r b10f942c5db6 -r 1f13bb5b01b6 sys/arch/sparc64/doc/TODO
--- a/sys/arch/sparc64/doc/TODO Mon Jan 04 15:13:06 2021 +0000
+++ b/sys/arch/sparc64/doc/TODO Mon Jan 04 15:13:50 2021 +0000
@@ -1,4 +1,4 @@
- /* $NetBSD: TODO,v 1.30 2021/01/04 15:13:06 skrll Exp $ */
+/* $NetBSD: TODO,v 1.31 2021/01/04 15:13:50 skrll Exp $ */
 
 Things to be done:
 
@@ -11,7 +11,7 @@
 - GENERIC.UP kernel hangs on v445 (missing interrupt?)
 
 sun4v:
- - current status: The kernel boots and starts the init process. 
+ - current status: The kernel boots and starts the init process.
    The following processes seem to crash on and on so more debugging to be done...
 
 - 64-bit kernel support
diff -r b10f942c5db6 -r 1f13bb5b01b6 sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c  Mon Jan 04 15:13:06 2021 +0000
+++ b/sys/dev/ic/wdc.c  Mon Jan 04 15:13:50 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.304 2021/01/04 15:13:06 skrll Exp $ */
+/*     $NetBSD: wdc.c,v 1.305 2021/01/04 15:13:50 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2001, 2003 Manuel Bouyer.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.304 2021/01/04 15:13:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.305 2021/01/04 15:13:50 skrll Exp $");
 
 #include "opt_ata.h"
 #include "opt_wdc.h"
@@ -718,8 +718,8 @@
        DELAY(2000);
        (void) bus_space_read_1(wdr->cmd_iot, wdr->cmd_iohs[wd_error], 0);
 
-       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 
-               bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, wd_aux_ctlr, 
+       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL))
+               bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, wd_aux_ctlr,
                    WDCTL_4BIT);
 
 #ifdef WDC_NO_IDS
@@ -1038,7 +1038,7 @@
 
        drv_mask1 = (chp->ch_drive[0].drive_type !=  ATA_DRIVET_NONE)
            ? 0x01 : 0x00;
-       if (chp->ch_ndrives > 1) 
+       if (chp->ch_ndrives > 1)
                drv_mask1 |= (chp->ch_drive[1].drive_type != ATA_DRIVET_NONE)
                    ? 0x02 : 0x00;
        drv_mask2 = __wdcwait_reset(chp, drv_mask1,
@@ -1052,8 +1052,8 @@
                        aprint_normal(" drive 1");
                aprint_normal("\n");
        }
-       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 
-               bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, wd_aux_ctlr, 
+       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL))
+               bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, wd_aux_ctlr,
                    WDCTL_4BIT);
 
        return  (drv_mask1 != drv_mask2) ? 1 : 0;
@@ -1080,7 +1080,7 @@
                delay(2000);
        }
        (void) bus_space_read_1(wdr->cmd_iot, wdr->cmd_iohs[wd_error], 0);
-       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 
+       if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL))
                bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, wd_aux_ctlr,
                    WDCTL_4BIT | WDCTL_IDS);
        delay(10);      /* 400ns delay */
@@ -1451,8 +1451,8 @@
        }
        if (ata_c->flags & AT_POLL) {
                /* polled command, disable interrupts */
-               if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 
-                       bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, 
+               if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL))
+                       bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh,
                            wd_aux_ctlr, WDCTL_4BIT | WDCTL_IDS);
        }
        if ((ata_c->flags & AT_LBA48) != 0) {
@@ -1656,12 +1656,12 @@
                if ((ata_c->flags & AT_LBA48) != 0) {
                        if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) {
                                if ((ata_c->flags & AT_POLL) != 0)
-                                       bus_space_write_1(wdr->ctl_iot, 
+                                       bus_space_write_1(wdr->ctl_iot,
                                            wdr->ctl_ioh, wd_aux_ctlr,
                                            WDCTL_HOB|WDCTL_4BIT|WDCTL_IDS);
                                else
-                                       bus_space_write_1(wdr->ctl_iot, 
-                                           wdr->ctl_ioh, wd_aux_ctlr, 
+                                       bus_space_write_1(wdr->ctl_iot,
+                                           wdr->ctl_ioh, wd_aux_ctlr,
                                            WDCTL_HOB|WDCTL_4BIT);
                        }
                        ata_c->r_count |= bus_space_read_1(wdr->cmd_iot,
@@ -1674,12 +1674,12 @@
                            wdr->cmd_iohs[wd_cyl_hi], 0) << 40;
                        if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) {
                                if ((ata_c->flags & AT_POLL) != 0)
-                                       bus_space_write_1(wdr->ctl_iot, 
-                                           wdr->ctl_ioh, wd_aux_ctlr, 
+                                       bus_space_write_1(wdr->ctl_iot,
+                                           wdr->ctl_ioh, wd_aux_ctlr,
                                            WDCTL_4BIT|WDCTL_IDS);
                                else
-                                       bus_space_write_1(wdr->ctl_iot, 
-                                           wdr->ctl_ioh, wd_aux_ctlr, 
+                                       bus_space_write_1(wdr->ctl_iot,
+                                           wdr->ctl_ioh, wd_aux_ctlr,
                                            WDCTL_4BIT);
                        }
                } else {
@@ -1696,8 +1696,8 @@
 out:
        if (ata_c->flags & AT_POLL) {
                /* enable interrupts */
-               if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 
-                       bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh, 
+               if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL))
+                       bus_space_write_1(wdr->ctl_iot, wdr->ctl_ioh,
                            wd_aux_ctlr, WDCTL_4BIT);
                delay(10); /* some drives need a little delay here */
        }



Home | Main Index | Thread Index | Old Index