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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to