diff options
author | jhb <jhb@FreeBSD.org> | 2015-04-22 21:38:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-04-22 21:38:21 +0000 |
commit | cb42eab3f7a22f0c86ccd8a7b5288e93fd619b4f (patch) | |
tree | 0a1920d0dccd821b3f744b1a5be93319715e7721 /sys/dev/pccbb | |
parent | 801fba53b0b91fb519fea2a5f0fe4b6dfc5e3bef (diff) | |
download | FreeBSD-src-cb42eab3f7a22f0c86ccd8a7b5288e93fd619b4f.zip FreeBSD-src-cb42eab3f7a22f0c86ccd8a7b5288e93fd619b4f.tar.gz |
Cosmetic change: use PCIR_SECLAT_2 rather than PCIR_SECLAT_1.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccbb/pccbb_pci.c b/sys/dev/pccbb/pccbb_pci.c index d4f1baa..e1ed5c2 100644 --- a/sys/dev/pccbb/pccbb_pci.c +++ b/sys/dev/pccbb/pccbb_pci.c @@ -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) |