Module Name: src
Committed By: skrll
Date: Mon Dec 28 12:38:45 UTC 2020
Modified Files:
src/sys/dev/pci: pci_map.c pcireg.h
Log Message:
Trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/pci_map.c
cvs rdiff -u -r1.151 -r1.152 src/sys/dev/pci/pcireg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/pci_map.c
diff -u src/sys/dev/pci/pci_map.c:1.40 src/sys/dev/pci/pci_map.c:1.41
--- src/sys/dev/pci/pci_map.c:1.40 Tue May 5 16:58:11 2020
+++ src/sys/dev/pci/pci_map.c Mon Dec 28 12:38:44 2020
@@ -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 @@ pci_mapreg_map(const struct pci_attach_a
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 @@ pci_mapreg_submap(const struct pci_attac
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 @@ pci_find_rom(const struct pci_attach_arg
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 @@ pci_find_rom(const struct pci_attach_arg
bus_space_subregion(bst, bsh, offset, imagesz, romh);
return 0;
}
-
+
/* last image check */
if (rom.rom_indicator & PCI_ROM_INDICATOR_LAST)
return 1;
Index: src/sys/dev/pci/pcireg.h
diff -u src/sys/dev/pci/pcireg.h:1.151 src/sys/dev/pci/pcireg.h:1.152
--- src/sys/dev/pci/pcireg.h:1.151 Tue Feb 18 04:08:12 2020
+++ src/sys/dev/pci/pcireg.h Mon Dec 28 12:38:44 2020
@@ -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 @@ struct pci_rom {
#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 */