projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219a1e9
)
r8169: 8168b Tx performance tweak
author
Francois Romieu
<romieu@fr.zoreil.com>
Sat, 28 Jun 2008 10:00:55 +0000
(12:00 +0200)
committer
Francois Romieu
<romieu@fr.zoreil.com>
Fri, 10 Oct 2008 21:08:37 +0000
(23:08 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index 60d2ded5571272c9234cb08cdfd71301e05e39ea..f929dbada84e90108d431a5b8affdf24812cf39e 100644
(file)
--- 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)