]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: pass switch_revision info to phy dev_flags
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 21:00:13 +0000 (23:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:23 +0000 (15:30 -0700)
commit941ca98aed87f3be157edc47517fe3e9cd866a08
treee0db0501d1cfdaa7fb2a90f495d0601a1c220cac
parent6e6884d2bc2a44954e2ddb11bbcc1840867dbd85
net: dsa: qca8k: pass switch_revision info to phy dev_flags

Define get_phy_flags to pass switch_Revision needed to tweak the
internal PHY with debug values based on the revision.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c