svn commit: r222760 - head/sys/dev/puc

John Baldwin jhb at FreeBSD.org
Mon Jun 6 15:33:16 UTC 2011


Author: jhb
Date: Mon Jun  6 15:33:15 2011
New Revision: 222760
URL: http://svn.freebsd.org/changeset/base/222760

Log:
  Some style fixes.
  
  Submitted by:	bde

Modified:
  head/sys/dev/puc/pucdata.c

Modified: head/sys/dev/puc/pucdata.c
==============================================================================
--- head/sys/dev/puc/pucdata.c	Mon Jun  6 15:21:53 2011	(r222759)
+++ head/sys/dev/puc/pucdata.c	Mon Jun  6 15:33:15 2011	(r222760)
@@ -51,12 +51,12 @@ static puc_config_f puc_config_amc;
 static puc_config_f puc_config_diva;
 static puc_config_f puc_config_exar;
 static puc_config_f puc_config_icbook;
+static puc_config_f puc_config_oxford_pcie;
 static puc_config_f puc_config_quatech;
 static puc_config_f puc_config_syba;
 static puc_config_f puc_config_siig;
 static puc_config_f puc_config_timedia;
 static puc_config_f puc_config_titan;
-static puc_config_f puc_config_oxford_pcie;
 
 const struct puc_cfg puc_pci_devices[] = {
 
@@ -1366,14 +1366,12 @@ puc_config_oxford_pcie(struct puc_softc 
 		bar = puc_get_bar(sc, cfg->rid);
 		if (bar == NULL)
 			return (ENXIO);
-
 		for (idx = 0; idx < sc->sc_nports; idx++) {
-			value = bus_read_1(bar->b_res, 0x1000 + (idx << 9)
-				+ 0x92);
+			value = bus_read_1(bar->b_res, 0x1000 + (idx << 9) +
+			    0x92);
 			bus_write_1(bar->b_res, 0x1000 + (idx << 9) + 0x92,
-				value | 0x10);
+			    value | 0x10);
 		}
-
 		return (0);
 	case PUC_CFG_GET_LEN:
 		*res = 0x200;


More information about the svn-src-head mailing list