]> 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)
commit4ff61ab2887cffa7257d5606e3406f2652ebbf21
treee0db0501d1cfdaa7fb2a90f495d0601a1c220cac
parentda31fc5cb927d7b9bc4a2a23fceccb0cf9d8d014
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