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:
ff2ef90
)
niu: fix PHY template choice for 10G copper
author
Constantin Baranov
<baranov@mercdev.com>
Thu, 19 Feb 2009 01:52:41 +0000
(17:52 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Feb 2009 01:52:41 +0000
(17:52 -0800)
Fixed a typo in niu_determine_phy_disposition() which resulted in
phy_template_1g_copper being selected for 10G/copper configuration.
Signed-off-by: Constantin Baranov <baranov@mercdev.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/niu.c
b/drivers/net/niu.c
index 32374a1c123ba58686cb92c61bf3dd551c94c8f1..47fc586578906c515c164c2c51ea99f5474ae50d 100644
(file)
--- a/
drivers/net/niu.c
+++ b/
drivers/net/niu.c
@@
-2456,7
+2456,7
@@
static int niu_determine_phy_disposition(struct niu *np)
case NIU_FLAGS_10G:
/* 10G copper */
- tp = &phy_template_1g_copper;
+ tp = &phy_template_1
0
g_copper;
break;
case NIU_FLAGS_FIBER: