diff options
Diffstat (limited to 'drivers/net/phy/vitesse.c')
-rw-r--r-- | drivers/net/phy/vitesse.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index 76cad712ddb2..dd295dbaa074 100644 --- a/drivers/net/phy/vitesse.c +++ b/drivers/net/phy/vitesse.c | |||
@@ -66,6 +66,7 @@ | |||
66 | #define PHY_ID_VSC8244 0x000fc6c0 | 66 | #define PHY_ID_VSC8244 0x000fc6c0 |
67 | #define PHY_ID_VSC8514 0x00070670 | 67 | #define PHY_ID_VSC8514 0x00070670 |
68 | #define PHY_ID_VSC8574 0x000704a0 | 68 | #define PHY_ID_VSC8574 0x000704a0 |
69 | #define PHY_ID_VSC8601 0x00070420 | ||
69 | #define PHY_ID_VSC8662 0x00070660 | 70 | #define PHY_ID_VSC8662 0x00070660 |
70 | #define PHY_ID_VSC8221 0x000fc550 | 71 | #define PHY_ID_VSC8221 0x000fc550 |
71 | #define PHY_ID_VSC8211 0x000fc4b0 | 72 | #define PHY_ID_VSC8211 0x000fc4b0 |
@@ -133,7 +134,8 @@ static int vsc82xx_config_intr(struct phy_device *phydev) | |||
133 | (phydev->drv->phy_id == PHY_ID_VSC8234 || | 134 | (phydev->drv->phy_id == PHY_ID_VSC8234 || |
134 | phydev->drv->phy_id == PHY_ID_VSC8244 || | 135 | phydev->drv->phy_id == PHY_ID_VSC8244 || |
135 | phydev->drv->phy_id == PHY_ID_VSC8514 || | 136 | phydev->drv->phy_id == PHY_ID_VSC8514 || |
136 | phydev->drv->phy_id == PHY_ID_VSC8574) ? | 137 | phydev->drv->phy_id == PHY_ID_VSC8574 || |
138 | phydev->drv->phy_id == PHY_ID_VSC8601) ? | ||
137 | MII_VSC8244_IMASK_MASK : | 139 | MII_VSC8244_IMASK_MASK : |
138 | MII_VSC8221_IMASK_MASK); | 140 | MII_VSC8221_IMASK_MASK); |
139 | else { | 141 | else { |
@@ -272,6 +274,18 @@ static struct phy_driver vsc82xx_driver[] = { | |||
272 | .config_intr = &vsc82xx_config_intr, | 274 | .config_intr = &vsc82xx_config_intr, |
273 | .driver = { .owner = THIS_MODULE,}, | 275 | .driver = { .owner = THIS_MODULE,}, |
274 | }, { | 276 | }, { |
277 | .phy_id = PHY_ID_VSC8601, | ||
278 | .name = "Vitesse VSC8601", | ||
279 | .phy_id_mask = 0x000ffff0, | ||
280 | .features = PHY_GBIT_FEATURES, | ||
281 | .flags = PHY_HAS_INTERRUPT, | ||
282 | .config_init = &genphy_config_init, | ||
283 | .config_aneg = &genphy_config_aneg, | ||
284 | .read_status = &genphy_read_status, | ||
285 | .ack_interrupt = &vsc824x_ack_interrupt, | ||
286 | .config_intr = &vsc82xx_config_intr, | ||
287 | .driver = { .owner = THIS_MODULE,}, | ||
288 | }, { | ||
275 | .phy_id = PHY_ID_VSC8662, | 289 | .phy_id = PHY_ID_VSC8662, |
276 | .name = "Vitesse VSC8662", | 290 | .name = "Vitesse VSC8662", |
277 | .phy_id_mask = 0x000ffff0, | 291 | .phy_id_mask = 0x000ffff0, |