aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-06-28 06:00:55 -0400
committerFrancois Romieu <romieu@fr.zoreil.com>2008-10-10 17:08:37 -0400
commit2e68ae44309bfadccdb5ddd68b9c38d2a1efeb94 (patch)
tree65318c3dc025f1963c267787e4eb6730376f1693 /drivers/net/r8169.c
parent219a1e9d46dcc21f279c428941ded2328f1a5ee5 (diff)
r8169: 8168b Tx performance tweak
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 60d2ded55712..f929dbada84e 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -2386,7 +2386,8 @@ static void rtl_ephy_init(void __iomem *ioaddr, struct ephy_info *e, int len)
2386 2386
2387static void rtl_hw_start_8168bb(void __iomem *ioaddr, struct pci_dev *pdev) 2387static void rtl_hw_start_8168bb(void __iomem *ioaddr, struct pci_dev *pdev)
2388{ 2388{
2389 rtl_tx_performance_tweak(pdev, 0x5 << MAX_READ_REQUEST_SHIFT); 2389 rtl_tx_performance_tweak(pdev,
2390 (0x5 << MAX_READ_REQUEST_SHIFT) | PCI_EXP_DEVCTL_NOSNOOP_EN);
2390} 2391}
2391 2392
2392static void rtl_hw_start_8168bef(void __iomem *ioaddr, struct pci_dev *pdev) 2393static void rtl_hw_start_8168bef(void __iomem *ioaddr, struct pci_dev *pdev)