Significantly lower the PCI_LATENCY_TIMER value that we were setting. This is essenti...
authormentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 8 Oct 2007 12:02:22 +0000 (12:02 +0000)
committermentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 8 Oct 2007 12:02:22 +0000 (12:02 +0000)
This value is roughly around the value that other devices are setting. The previous value appeared to be stupidly high.

This may solve some interactivity problems and machine performance issues.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2732 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath_pci.c

index 828122bd3f322014cf385ce88dfc848f2007a2a8..45a833ce04e934de276a4dbf5d8dfa18c5cb7ca1 100644 (file)
@@ -155,7 +155,7 @@ ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
         * set it to the value used by other systems.  It may be worth
         * tweaking this setting more.
         */
-       pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xa8);
+       pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0x60);
 
        pci_set_master(pdev);