Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/1a8b0eca060d
branches:  trunk
changeset: 979417:1a8b0eca060d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 28 12:38:44 2020 +0000

description:
Trailing whitespace

diffstat:

 sys/dev/pci/pci_map.c |  12 ++++++------
 sys/dev/pci/pcireg.h  |   4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r a545106476e9 -r 1a8b0eca060d sys/dev/pci/pci_map.c
--- a/sys/dev/pci/pci_map.c     Mon Dec 28 12:17:23 2020 +0000
+++ b/sys/dev/pci/pci_map.c     Mon Dec 28 12:38:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_map.c,v 1.40 2020/05/05 16:58:11 bouyer Exp $      */
+/*     $NetBSD: pci_map.c,v 1.41 2020/12/28 12:38:44 skrll Exp $       */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.40 2020/05/05 16:58:11 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.41 2020/12/28 12:38:44 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -309,7 +309,7 @@
     int busflags, bus_space_tag_t *tagp, bus_space_handle_t *handlep,
     bus_addr_t *basep, bus_size_t *sizep)
 {
-       return pci_mapreg_submap(pa, reg, type, busflags, 0, 0, tagp, 
+       return pci_mapreg_submap(pa, reg, type, busflags, 0, 0, tagp,
            handlep, basep, sizep);
 }
 
@@ -351,7 +351,7 @@
                splx(s);
        }
 
-       /* If we're called with maxsize/offset of 0, behave like 
+       /* If we're called with maxsize/offset of 0, behave like
         * pci_mapreg_map.
         */
 
@@ -415,7 +415,7 @@
                        return 1;
 
                ptr = offset + hdr.romh_data_ptr;
-               
+
                if (ptr > sz) {
                        printf("pci_find_rom: rom data ptr out of range\n");
                        return 1;
@@ -456,7 +456,7 @@
                        bus_space_subregion(bst, bsh, offset, imagesz, romh);
                        return 0;
                }
-               
+
                /* last image check */
                if (rom.rom_indicator & PCI_ROM_INDICATOR_LAST)
                        return 1;
diff -r a545106476e9 -r 1a8b0eca060d sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h      Mon Dec 28 12:17:23 2020 +0000
+++ b/sys/dev/pci/pcireg.h      Mon Dec 28 12:38:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcireg.h,v 1.151 2020/02/18 04:08:12 msaitoh Exp $     */
+/*     $NetBSD: pcireg.h,v 1.152 2020/12/28 12:38:44 skrll Exp $       */
 
 /*
  * Copyright (c) 1995, 1996, 1999, 2000
@@ -2073,7 +2073,7 @@
 #define        PCI_DPC_RPPIO_MEMUR_CPL __BIT(16)      /* MemReq received UR Complt. */
 #define        PCI_DPC_RPPIO_MEMCA_CPL __BIT(17)      /* MemReq received CA Complt. */
 #define        PCI_DPC_RPPIO_MEM_CTO   __BIT(18)      /* MemReq Completion Timeout */
-       
+
 #define        PCI_DPC_RPPIO_MASK 0x10 /* RP PIO Mask Register */
   /* Bits are the same as RP PIO Status Register */
 #define        PCI_DPC_RPPIO_SEVE 0x14 /* RP PIO Severity Register */



Home | Main Index | Thread Index | Old Index