net: phy: Add micrel KSZ8031
KSZ8031 is similar to KSZ8021. It can use the same functions. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
cf9b0c6927
commit
5d3cb01271
|
@ -121,6 +121,15 @@ static struct phy_driver ksphy_driver[] = {
|
|||
.config_init = ksz8021_config_init,
|
||||
.config_aneg = genphy_config_aneg,
|
||||
.read_status = genphy_read_status,
|
||||
}, {
|
||||
.phy_id = PHY_ID_KSZ8031,
|
||||
.phy_id_mask = 0x00ffffff,
|
||||
.drv.name = "Micrel KSZ8031",
|
||||
.features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
|
||||
SUPPORTED_Asym_Pause),
|
||||
.config_init = ksz8021_config_init,
|
||||
.config_aneg = genphy_config_aneg,
|
||||
.read_status = genphy_read_status,
|
||||
}, {
|
||||
.phy_id = PHY_ID_KSZ8041,
|
||||
.phy_id_mask = 0x00fffff0,
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#define PHY_ID_KSZ9021 0x00221610
|
||||
#define PHY_ID_KS8737 0x00221720
|
||||
#define PHY_ID_KSZ8021 0x00221555
|
||||
#define PHY_ID_KSZ8031 0x00221556
|
||||
#define PHY_ID_KSZ8041 0x00221510
|
||||
#define PHY_ID_KSZ8051 0x00221550
|
||||
/* same id: ks8001 Rev. A/B, and ks8721 Rev 3. */
|
||||
|
|
Loading…
Reference in New Issue