Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2015 08:13:51 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289494 - head/sys/dev/pci
Message-ID:  <201510180813.t9I8DpuX080506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Sun Oct 18 08:13:51 2015
New Revision: 289494
URL: https://svnweb.freebsd.org/changeset/base/289494

Log:
  drop a bunch of white space at end of lines and end of files...
  -x -wb apparently doesn't hide end of file white space changes..
  
  This is to reduce the amount of diff for my PCIe HP changes..

Modified:
  head/sys/dev/pci/pci.c
  head/sys/dev/pci/pci_pci.c
  head/sys/dev/pci/pcib_if.m

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c	Sun Oct 18 08:12:05 2015	(r289493)
+++ head/sys/dev/pci/pci.c	Sun Oct 18 08:13:51 2015	(r289494)
@@ -535,7 +535,7 @@ pci_romsize(uint64_t testval)
 	}
 	return (ln2size);
 }
-	
+
 /* return log2 of address range supported by map register */
 
 static int
@@ -1706,7 +1706,7 @@ pci_remap_msix_method(device_t dev, devi
 		free(used, M_DEVBUF);
 		return (EINVAL);
 	}
-	
+
 	/* Make sure none of the resources are allocated. */
 	for (i = 0; i < msix->msix_table_len; i++) {
 		if (msix->msix_table[i].mte_vector == 0)
@@ -2003,7 +2003,7 @@ pci_remap_intr_method(device_t bus, devi
 	struct msix_table_entry *mte;
 	struct msix_vector *mv;
 	uint64_t addr;
-	uint32_t data;	
+	uint32_t data;
 	int error, i, j;
 
 	/*
@@ -4830,7 +4830,7 @@ pci_deactivate_resource(device_t dev, de
 	if (error)
 		return (error);
 
-	/* Disable decoding for device ROMs. */	
+	/* Disable decoding for device ROMs. */
 	if (device_get_parent(child) == dev) {
 		dinfo = device_get_ivars(child);
 		if (type == SYS_RES_MEMORY && PCIR_IS_BIOS(&dinfo->cfg, rid))

Modified: head/sys/dev/pci/pci_pci.c
==============================================================================
--- head/sys/dev/pci/pci_pci.c	Sun Oct 18 08:12:05 2015	(r289493)
+++ head/sys/dev/pci/pci_pci.c	Sun Oct 18 08:13:51 2015	(r289494)
@@ -57,7 +57,7 @@ static int		pcib_resume(device_t dev);
 static int		pcib_power_for_sleep(device_t pcib, device_t dev,
 			    int *pstate);
 static uint16_t		pcib_ari_get_rid(device_t pcib, device_t dev);
-static uint32_t		pcib_read_config(device_t dev, u_int b, u_int s, 
+static uint32_t		pcib_read_config(device_t dev, u_int b, u_int s,
     u_int f, u_int reg, int width);
 static void		pcib_write_config(device_t dev, u_int b, u_int s,
     u_int f, u_int reg, uint32_t val, int width);
@@ -266,7 +266,7 @@ pcib_add_window_resources(struct pcib_wi
 	free(w->res, M_DEVBUF);
 	w->res = newarray;
 	w->count += count;
-	
+
 	for (i = 0; i < count; i++) {
 		error = rman_manage_region(&w->rman, rman_get_start(res[i]),
 		    rman_get_end(res[i]));
@@ -783,7 +783,7 @@ pcib_get_mem_decode(struct pcib_softc *s
 		sc->pmembase = PCI_PPBMEMBASE(0, pmemlow);
 
 	pmemlow = pci_read_config(dev, PCIR_PMLIMITL_1, 2);
-	if ((pmemlow & PCIM_BRPM_MASK) == PCIM_BRPM_64)	
+	if ((pmemlow & PCIM_BRPM_MASK) == PCIM_BRPM_64)
 		sc->pmemlimit = PCI_PPBMEMLIMIT(
 		    pci_read_config(dev, PCIR_PMLIMITH_1, 4), pmemlow);
 	else
@@ -1126,7 +1126,7 @@ int
 pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
 {
     struct pcib_softc	*sc = device_get_softc(dev);
-    
+
     switch (which) {
     case PCIB_IVAR_DOMAIN:
 	*result = sc->domain;
@@ -1243,9 +1243,9 @@ pcib_alloc_new_window(struct pcib_softc 
 				return (0);
 			}
 		}
-		return (ENOSPC);		
+		return (ENOSPC);
 	}
-	
+
 	wmask = (1ul << w->step) - 1;
 	if (RF_ALIGNMENT(flags) < w->step) {
 		flags &= ~RF_ALIGNMENT_MASK;
@@ -1337,7 +1337,7 @@ pcib_expand_window(struct pcib_softc *sc
 		KASSERT(w->base == rman_get_start(res),
 		    ("existing resource mismatch"));
 		force_64k_base = 0;
-	}	
+	}
 
 	error = bus_adjust_resource(sc->dev, type, res, force_64k_base ?
 	    rman_get_start(res) : base, limit);
@@ -1657,7 +1657,7 @@ pcib_release_resource(device_t dev, devi
  * is set up to, or capable of handling them.
  */
 struct resource *
-pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, 
+pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
     u_long start, u_long end, u_long count, u_int flags)
 {
 	struct pcib_softc	*sc = device_get_softc(dev);
@@ -1928,7 +1928,7 @@ pcib_route_interrupt(device_t pcib, devi
     int		parent_intpin;
     int		intnum;
 
-    /*	
+    /*
      *
      * The PCI standard defines a swizzle of the child-side device/intpin to
      * the parent-side intpin as follows.
@@ -2116,4 +2116,3 @@ pcib_try_enable_ari(device_t pcib, devic
 
 	return (0);
 }
-

Modified: head/sys/dev/pci/pcib_if.m
==============================================================================
--- head/sys/dev/pci/pcib_if.m	Sun Oct 18 08:12:05 2015	(r289493)
+++ head/sys/dev/pci/pcib_if.m	Sun Oct 18 08:13:51 2015	(r289494)
@@ -97,7 +97,7 @@ METHOD void write_config {
 };
 
 #
-# Route an interrupt.  Returns a value suitable for stuffing into 
+# Route an interrupt.  Returns a value suitable for stuffing into
 # a device's interrupt register.
 #
 METHOD int route_interrupt {
@@ -206,4 +206,3 @@ METHOD void decode_rid {
 	int 		*slot;
 	int 		*func;
 } DEFAULT pcib_decode_rid;
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510180813.t9I8DpuX080506>