]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio-i2c: add support for Clause 45 accesses
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Dec 2019 10:56:20 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2019 19:53:41 +0000 (11:53 -0800)
commit6912b712cd75aaa1c8d90b291ec7d2504f17f263
treee10d3f90d00e85f3d7fed118a6bb421be0bdf91d
parent4882057ad434e8a6434fce20dc7b7315d40a9d4a
net: mdio-i2c: add support for Clause 45 accesses

Some SFP+ modules have PHYs on them just like SFP modules do, except
they are Clause 45 PHYs.  The I2C protocol used to access them is
modified slightly in order to send the device address and 16-bit
register index.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-i2c.c