]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: use generic clause 45 definitions
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 30 Apr 2020 08:21:34 +0000 (09:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 22:40:15 +0000 (15:40 -0700)
commit2c99a8369f9c03e21493f6ad56b188a0f11d1aeb
treea406354c4653a77d204ea00224067311b95eda4f
parent9611a795b2ccfe153fe2ec715270a5cd5b331a10
net: dsa: mv88e6xxx: use generic clause 45 definitions

The private MV88E6390_PCS_CONTROL_1 definitions in serdes.h reflects
the IEEE 802.3 standard PCS control register 1 definitions, only
offset by 0x1000 in the PHYXS register space.  Rather than inventing
our own, use those that already exist, and name the register
MV88E6390_10G_CTRL1.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/serdes.c
drivers/net/dsa/mv88e6xxx/serdes.h