projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cec6b0
)
cxgb3: fix linkup issue
author
Hiroshi Shimamoto
<
[email protected]
>
Mon, 19 Apr 2010 15:32:20 +0000
(15:32 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 21 Apr 2010 23:34:41 +0000
(16:34 -0700)
I encountered an issue that not to link up on cxgb3 fabric.
I bisected and found that this regression was introduced by
0f07c4ee8c800923ae7918c231532a9256233eed
.
Correct to pass phy_addr to cphy_init() at t3_xaui_direct_phy_prep().
Signed-off-by: Hiroshi Shimamoto <
[email protected]
>
Acked-by: Divy Le Ray <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/cxgb3/ael1002.c
patch
|
blob
|
history
diff --git
a/drivers/net/cxgb3/ael1002.c
b/drivers/net/cxgb3/ael1002.c
index 5248f9e0b2f4c4a934a78cf8209381da57077978..35cd36729155ee18a7dcd44d883890a980c0b87d 100644
(file)
--- a/
drivers/net/cxgb3/ael1002.c
+++ b/
drivers/net/cxgb3/ael1002.c
@@
-934,7
+934,7
@@
static struct cphy_ops xaui_direct_ops = {
int t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter,
int phy_addr, const struct mdio_ops *mdio_ops)
{
- cphy_init(phy, adapter,
MDIO_PRTAD_NONE
, &xaui_direct_ops, mdio_ops,
+ cphy_init(phy, adapter,
phy_addr
, &xaui_direct_ops, mdio_ops,
SUPPORTED_10000baseT_Full | SUPPORTED_AUI | SUPPORTED_TP,
"10GBASE-CX4");
return 0;