summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-06 17:06:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-06 17:06:37 +0000
commitbc71e5bbde8c685c737d88fe2e11088d22f9a955 (patch)
treede3ec37b20c3d9a134967c4bf3fed9a5eaa0319f /target/linux
parentf5842e2ba41714a59702d8e26d66fa3dcde2d541 (diff)
downloadmtk-20170518-bc71e5bbde8c685c737d88fe2e11088d22f9a955.zip
mtk-20170518-bc71e5bbde8c685c737d88fe2e11088d22f9a955.tar.gz
mtk-20170518-bc71e5bbde8c685c737d88fe2e11088d22f9a955.tar.bz2
update mdio patch
SVN-Revision: 14426
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch b/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
index 98f7339..b7b7d58 100644
--- a/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
+++ b/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
@@ -1,5 +1,20 @@
--- a/drivers/net/ag71xx/ag71xx_mdio.c
+++ b/drivers/net/ag71xx/ag71xx_mdio.c
+@@ -32,12 +32,12 @@ static inline u32 ag71xx_mdio_rr(struct
+ static void ag71xx_mdio_dump_regs(struct ag71xx_mdio *am)
+ {
+ DBG("%s: mii_cfg=%08x, mii_cmd=%08x, mii_addr=%08x\n",
+- am->mii_bus.name,
++ am->mii_bus->name,
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_CFG),
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_CMD),
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_ADDR));
+ DBG("%s: mii_ctrl=%08x, mii_status=%08x, mii_ind=%08x\n",
+- am->mii_bus.name,
++ am->mii_bus->name,
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_CTRL),
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_STATUS),
+ ag71xx_mdio_rr(am, AG71XX_REG_MII_IND));
@@ -57,7 +57,7 @@ static int ag71xx_mdio_mii_read(struct a
while (ag71xx_mdio_rr(am, AG71XX_REG_MII_IND) & MII_IND_BUSY) {
if (i-- == 0) {