Commit 1cb84140 authored by Benoit Rat's avatar Benoit Rat Committed by Alessandro Rubini

kernel/wr-nic: Remove annoying warning message asking for the phy

- Remove only for write in #72557df
- NetworkManger (Unbuntu LTS 12.04) insists on accessing to the phy
when it is used from LM32 and flood the dmesg so we remove the warning.
parent 0fade96a
......@@ -56,7 +56,12 @@ int wrn_phy_read(struct net_device *dev, int phy_id, int location)
u32 val;
if (WR_IS_NODE) {
WARN_ON(1); /* SPEC: no access */
/*
* We cannot access the phy from Linux, because the phy
* is managed by the lm32 core. However, network manager
* insists on doing that, so we'd better not warn about it
*/
//WARN_ON(1); /* SPEC: no access */
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment