projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed default kernel to 2.6.28.5, it at least runs on
[openwrt.git]
/
target
/
linux
/
ar71xx
/
patches-2.6.28
/
802-ag71xx_mdio_dynamic_mdio_bus.patch
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
fa84e55
..
9d0584a
100644
(file)
--- 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
@@
-47,7
+47,7
@@
- snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0);
+ am->mii_bus = mdiobus_alloc();
+ if (am->mii_bus == NULL) {
- snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0);
+ am->mii_bus = mdiobus_alloc();
+ if (am->mii_bus == NULL) {
-+ err = -NOMEM;
++ err = -
E
NOMEM;
+ goto err_iounmap;
+ }
+
+ goto err_iounmap;
+ }
+
This page took
0.022587 seconds
and
4
git commands to generate.