svn commit: r281870 - head/sys/dev/pccbb

John Baldwin jhb at FreeBSD.org
Wed Apr 22 21:38:22 UTC 2015


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)


More information about the svn-src-all mailing list