diff options
author | David Rivshin <drivshin@allworx.com> | 2016-02-12 19:45:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-17 10:50:15 -0500 |
commit | d148bbd37a52b030b131ac5408c0f8293325ca0b (patch) | |
tree | cd60a5a2d833d92b3027ce55e2ee03c563ab4289 /net/l2tp | |
parent | cd772de358d6e001d308292c542f7908511287a4 (diff) |
drivers: net: cpsw-phy-sel: add dev_warn() for unsupported PHY mode
The cpsw-phy-sel driver supports only MII, RMII, and RGMII PHY modes,
and silently handled any other values as if MII was specified. In a
case where the PHY mode was incorrectly specified, or a bug elsewhere,
there would be no indication of a problem. If MII was the correct mode,
then this will go unnoticed, otherwise the symptom will be a failure
to transmit/receive data over the RMII/RGMII link.
Add a dev_warn() to make this condition obvious and provide a
breadcrumb to follow.
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David Rivshin <drivshin@allworx.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions