aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_ath_pci.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2011-11-08 18:37:52 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2011-11-08 18:37:52 +0000
commit0f0c074eaa54890890ac665f037cef3e388e4f8b (patch)
tree2bce5913e06e55424e4e4c0b187ebfa948bebdf5 /sys/dev/ath/if_ath_pci.c
parentfcc7cd5412ea11191d4cf084824b3e38eb6631ed (diff)
downloadsrc-0f0c074eaa54890890ac665f037cef3e388e4f8b.tar.gz
src-0f0c074eaa54890890ac665f037cef3e388e4f8b.zip
Notes
Diffstat (limited to 'sys/dev/ath/if_ath_pci.c')
-rw-r--r--sys/dev/ath/if_ath_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c
index a2528c3e817a..536930bfe2b8 100644
--- a/sys/dev/ath/if_ath_pci.c
+++ b/sys/dev/ath/if_ath_pci.c
@@ -78,8 +78,10 @@ struct ath_pci_softc {
static void
ath_pci_setup(device_t dev)
{
+#ifdef ATH_PCI_LATENCY_WAR
/* Override the system latency timer */
pci_write_config(dev, PCIR_LATTIMER, 0x80, 1);
+#endif
/* If a PCI NIC, force wakeup */
#ifdef ATH_PCI_WAKEUP_WAR