projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: ag71xx: don't use dev->trans_start
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
net
/
ag71xx
/
ag71xx_phy.c
diff --git
a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
index
0db0a4b
..
3e3d383
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
+++ b/
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
@@
-1,7
+1,7
@@
/*
* Atheros AR71xx built-in ethernet mac driver
*
/*
* Atheros AR71xx built-in ethernet mac driver
*
- * Copyright (C) 2008-20
09
Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2008-20
10
Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* Based on Atheros' AG7100 driver
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* Based on Atheros' AG7100 driver
@@
-308,6
+308,13
@@
int ag71xx_phy_connect(struct ag71xx *ag)
return -ENODEV;
}
return -ENODEV;
}
+ /* Reset the mdio bus explicitly */
+ if (ag->mii_bus->reset) {
+ mutex_lock(&ag->mii_bus->mdio_lock);
+ ag->mii_bus->reset(ag->mii_bus);
+ mutex_unlock(&ag->mii_bus->mdio_lock);
+ }
+
if (pdata->phy_mask)
return ag71xx_phy_connect_multi(ag);
if (pdata->phy_mask)
return ag71xx_phy_connect_multi(ag);
This page took
0.023984 seconds
and
4
git commands to generate.