diff options
author | David Rivshin <drivshin@allworx.com> | 2016-02-13 03:45:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-17 18:50:15 +0300 |
commit | d148bbd37a52b030b131ac5408c0f8293325ca0b (patch) | |
tree | cd60a5a2d833d92b3027ce55e2ee03c563ab4289 /net/mac80211/debugfs_key.c | |
parent | cd772de358d6e001d308292c542f7908511287a4 (diff) | |
download | linux-d148bbd37a52b030b131ac5408c0f8293325ca0b.tar.xz |
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/mac80211/debugfs_key.c')
0 files changed, 0 insertions, 0 deletions