Commit 7044d545 authored by Benoit Rat's avatar Benoit Rat

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

- Remove only for write in #72557df7
- 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 d455c018
......@@ -28,7 +28,12 @@ int wrn_phy_read(struct net_device *dev, int phy_id, int location)
u32 val;
if (1) {
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