]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add serdes interrupt support for MV88E6097
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 24 Nov 2020 04:34:39 +0000 (17:34 +1300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 Nov 2020 01:58:06 +0000 (17:58 -0800)
commit7ad33e91a7a047e20623d39e44296f919470d120
tree5ef0239819a7fd6de07d2269ba9356d13515b76a
parent640ee0fb711420a74eb51f1d5d4c6fc1e86cfee6
net: dsa: mv88e6xxx: Add serdes interrupt support for MV88E6097

The MV88E6097 presents the serdes interrupts for ports 8 and 9 via the
Switch Global 2 registers. There is no additional layer of
enablinh/disabling the serdes interrupts like other mv88e6xxx switches.
Even though most of the serdes behaviour is the same as the MV88E6185
that chip does not provide interrupts for serdes events so unlike
earlier commits the functions added here are specific to the MV88E6097.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/serdes.c
drivers/net/dsa/mv88e6xxx/serdes.h