]> asedeno.scripts.mit.edu Git - linux.git/commit
mscc.c: Add support for additional VSC PHYs
authorBryan Whitehead <Bryan.Whitehead@microchip.com>
Wed, 13 Nov 2019 16:33:15 +0000 (11:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 20:34:38 +0000 (12:34 -0800)
commit75a1ccfe6c726ba33a2f9859d39deb2eba620583
tree8e788db3ead82ab5fb14774c0485ca0d5667356b
parent945fe45759bc001c1f81e25fbe9a40b43e59f7b5
mscc.c: Add support for additional VSC PHYs

Add support for the following VSC PHYs
VSC8504, VSC8552, VSC8572
VSC8562, VSC8564, VSC8575, VSC8582

Updates for v2:
Checked for NULL on input to container_of
Changed a large if else series to a switch statement.
Added a WARN_ON to make sure lowest nibble of mask is 0

Signed-off-by: Bryan Whitehead <Bryan.Whitehead@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c