projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes...
[openwrt-10.03/.git]
/
target
/
linux
/
generic-2.6
/
files
/
drivers
/
net
/
phy
/
rtl8306.c
diff --git
a/target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
b/target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
index 259ff5006fb0e5bd158b41568324bb0e57d92ede..5c8e81f79dee6570bfd44c65914b6436235aa644 100644
(file)
--- a/
target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
+++ b/
target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
@@
-913,6
+913,9
@@
rtl8306_fixup(struct phy_device *pdev)
struct rtl_priv priv;
u16 chipid;
+ if (pdev->addr != 0)
+ return 0;
+
priv.page = -1;
priv.bus = pdev->bus;
chipid = rtl_get(&priv.dev, RTL_REG_CHIPID);