Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2015 21:38:22 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281870 - head/sys/dev/pccbb
Message-ID:  <201504222138.t3MLcMou053452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Apr 22 21:38:21 2015
New Revision: 281870
URL: https://svnweb.freebsd.org/changeset/base/281870

Log:
  Cosmetic change: use PCIR_SECLAT_2 rather than PCIR_SECLAT_1.

Modified:
  head/sys/dev/pccbb/pccbb_pci.c

Modified: head/sys/dev/pccbb/pccbb_pci.c
==============================================================================
--- head/sys/dev/pccbb/pccbb_pci.c	Wed Apr 22 20:48:56 2015	(r281869)
+++ head/sys/dev/pccbb/pccbb_pci.c	Wed Apr 22 21:38:21 2015	(r281870)
@@ -467,8 +467,8 @@ cbb_chipinit(struct cbb_softc *sc)
 	uint32_t mux, sysctrl, reg;
 
 	/* Set CardBus latency timer */
-	if (pci_read_config(sc->dev, PCIR_SECLAT_1, 1) < 0x20)
-		pci_write_config(sc->dev, PCIR_SECLAT_1, 0x20, 1);
+	if (pci_read_config(sc->dev, PCIR_SECLAT_2, 1) < 0x20)
+		pci_write_config(sc->dev, PCIR_SECLAT_2, 0x20, 1);
 
 	/* Set PCI latency timer */
 	if (pci_read_config(sc->dev, PCIR_LATTIMER, 1) < 0x20)



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