From: Francois Romieu Date: Sat, 28 Jun 2008 10:00:55 +0000 (+0200) Subject: r8169: 8168b Tx performance tweak X-Git-Tag: v2.6.28-rc1~717^2^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2e68ae44309bfadccdb5ddd68b9c38d2a1efeb94;p=linux-2.6-omap-h63xx.git r8169: 8168b Tx performance tweak Signed-off-by: Francois Romieu Cc: Edward Hsu --- diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 60d2ded5571..f929dbada84 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) static void rtl_hw_start_8168bb(void __iomem *ioaddr, struct pci_dev *pdev) { - rtl_tx_performance_tweak(pdev, 0x5 << MAX_READ_REQUEST_SHIFT); + rtl_tx_performance_tweak(pdev, + (0x5 << MAX_READ_REQUEST_SHIFT) | PCI_EXP_DEVCTL_NOSNOOP_EN); } static void rtl_hw_start_8168bef(void __iomem *ioaddr, struct pci_dev *pdev)