summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2020-06-07 16:02:58 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-08 03:09:46 +0300
commit4d3da2d8d91f66988a829a18a0ce59945e8ae4fb (patch)
treeeafeb984ffde99427dc67201575372c07c308e70 /net
parent2dc2f760052da4925482ecdcdc5c94d4a599153c (diff)
downloadlinux-4d3da2d8d91f66988a829a18a0ce59945e8ae4fb.tar.xz
net: dsa: lantiq_gswip: fix and improve the unsupported interface error
While trying to use the lantiq_gswip driver on one of my boards I made a mistake when specifying the phy-mode (because the out-of-tree driver wants phy-mode "gmii" or "mii" for the internal PHYs). In this case the following error is printed multiple times: Unsupported interface: 3 While it gives at least a hint at what may be wrong it is not very user friendly. Print the human readable phy-mode and also which port is configured incorrectly (this hardware supports ports 0..6) to improve the cases where someone made a mistake. Fixes: 14fceff4771e51 ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions