Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Misc whitespace



details:   https://anonhg.NetBSD.org/src/rev/9c49f6979d0a
branches:  trunk
changeset: 1017648:9c49f6979d0a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 03 10:31:37 2021 +0000

description:
Misc whitespace

diffstat:

 sys/dev/pci/pciconf.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 29204a6b0730 -r 9c49f6979d0a sys/dev/pci/pciconf.c
--- a/sys/dev/pci/pciconf.c     Sun Jan 03 01:43:12 2021 +0000
+++ b/sys/dev/pci/pciconf.c     Sun Jan 03 10:31:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciconf.c,v 1.51 2020/12/29 15:39:59 skrll Exp $       */
+/*     $NetBSD: pciconf.c,v 1.52 2021/01/03 10:31:37 skrll Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.51 2020/12/29 15:39:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.52 2021/01/03 10:31:37 skrll Exp $");
 
 #include "opt_pci.h"
 
@@ -392,9 +392,9 @@
 {
        pcireg_t        busreg;
 
-       busreg  =  __SHIFTIN(prim, PCI_BRIDGE_BUS_PRIMARY);
-       busreg |=  __SHIFTIN(sec,  PCI_BRIDGE_BUS_SECONDARY);
-       busreg |=  __SHIFTIN(sub,  PCI_BRIDGE_BUS_SUBORDINATE);
+       busreg  = __SHIFTIN(prim, PCI_BRIDGE_BUS_PRIMARY);
+       busreg |= __SHIFTIN(sec,  PCI_BRIDGE_BUS_SECONDARY);
+       busreg |= __SHIFTIN(sub,  PCI_BRIDGE_BUS_SUBORDINATE);
        pci_conf_write(pc, tag, PCI_BRIDGE_BUS_REG, busreg);
 }
 
@@ -647,7 +647,7 @@
                reg_end = PCI_MAPREG_PCB_END;
 
                busreg = pci_conf_read(pb->pc, tag, PCI_BUSNUM);
-               busreg  =  (busreg & 0xff000000) |
+               busreg = (busreg & 0xff000000) |
                    __SHIFTIN(pb->busno, PCI_BRIDGE_BUS_PRIMARY) |
                    __SHIFTIN(pb->next_busno, PCI_BRIDGE_BUS_SECONDARY) |
                    __SHIFTIN(pb->next_busno, PCI_BRIDGE_BUS_SUBORDINATE);



Home | Main Index | Thread Index | Old Index