projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gianfar: Fix Wake-on-LAN support
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
gianfar_mii.c
diff --git
a/drivers/net/gianfar_mii.c
b/drivers/net/gianfar_mii.c
index f3706e415b45323e8de205581b6ed4a57e8ea51b..f49a426ad681c1996f7675f8e993eb784e4981af 100644
(file)
--- a/
drivers/net/gianfar_mii.c
+++ b/
drivers/net/gianfar_mii.c
@@
-234,6
+234,8
@@
static int gfar_mdio_probe(struct of_device *ofdev,
if (NULL == new_bus)
return -ENOMEM;
+ device_init_wakeup(&ofdev->dev, 1);
+
new_bus->name = "Gianfar MII Bus",
new_bus->read = &gfar_mdio_read,
new_bus->write = &gfar_mdio_write,