Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/hpc Stylistic fix to last.



details:   https://anonhg.NetBSD.org/src/rev/d62d6047a98e
branches:  trunk
changeset: 517876:d62d6047a98e
user:      rafal <rafal%NetBSD.org@localhost>
date:      Tue Nov 20 21:21:03 2001 +0000

description:
Stylistic fix to last.

diffstat:

 sys/arch/sgimips/hpc/hpc.c |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (42 lines):

diff -r 695beeffba4c -r d62d6047a98e sys/arch/sgimips/hpc/hpc.c
--- a/sys/arch/sgimips/hpc/hpc.c        Tue Nov 20 21:12:46 2001 +0000
+++ b/sys/arch/sgimips/hpc/hpc.c        Tue Nov 20 21:21:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpc.c,v 1.4 2001/11/20 16:09:01 rafal Exp $    */
+/*     $NetBSD: hpc.c,v 1.5 2001/11/20 21:21:03 rafal Exp $    */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -162,20 +162,20 @@
        sc->sc_base = ga->ga_addr;
 
        for (hd = hpc_devices; hd->hd_name != NULL; hd++) {
-               if (hd->hd_sysmask & sysmask) {
-                       ha.ha_name = hd->hd_name;
-                       ha.ha_devoff = hd->hd_devoff;
-                       ha.ha_dmaoff = hd->hd_dmaoff;
-                       ha.ha_irq = hd->hd_irq;
+               if (!(hd->hd_sysmask & sysmask))
+                       continue;
 
-                       /* XXX This is disgusting. */
-                       ha.ha_st = 1;
-                       ha.ha_sh = MIPS_PHYS_TO_KSEG1(sc->sc_base);
-                       ha.ha_dmat = &sgimips_default_bus_dma_tag;
+               ha.ha_name = hd->hd_name;
+               ha.ha_devoff = hd->hd_devoff;
+               ha.ha_dmaoff = hd->hd_dmaoff;
+               ha.ha_irq = hd->hd_irq;
 
-                       (void) config_found_sm(self, &ha, 
-                                               hpc_print, hpc_submatch);
-               }
+               /* XXX This is disgusting. */
+               ha.ha_st = 1;
+               ha.ha_sh = MIPS_PHYS_TO_KSEG1(sc->sc_base);
+               ha.ha_dmat = &sgimips_default_bus_dma_tag;
+
+               (void) config_found_sm(self, &ha, hpc_print, hpc_submatch);
        }
 
        /* 



Home | Main Index | Thread Index | Old Index