Loading drivers/net/phy/vitesse.c +11 −12 Original line number Diff line number Diff line Loading @@ -101,8 +101,7 @@ static int vsc824x_ack_interrupt(struct phy_device *phydev) { int err = 0; /* * Don't bother to ACK the interrupts if interrupts /* Don't bother to ACK the interrupts if interrupts * are disabled. The 824x cannot clear the interrupts * if they are disabled. */ Loading @@ -122,8 +121,7 @@ static int vsc82xx_config_intr(struct phy_device *phydev) MII_VSC8244_IMASK_MASK : MII_VSC8221_IMASK_MASK); else { /* * The Vitesse PHY cannot clear the interrupt /* The Vitesse PHY cannot clear the interrupt * once it has disabled them, so we clear them first */ err = phy_read(phydev, MII_VSC8244_ISTAT); Loading @@ -146,7 +144,8 @@ static int vsc8221_config_init(struct phy_device *phydev) return err; /* Perhaps we should set EXT_CON1 based on the interface? Options are 802.3Z SerDes or SGMII */ * Options are 802.3Z SerDes or SGMII */ } /* Vitesse 824x */ Loading Loading
drivers/net/phy/vitesse.c +11 −12 Original line number Diff line number Diff line Loading @@ -101,8 +101,7 @@ static int vsc824x_ack_interrupt(struct phy_device *phydev) { int err = 0; /* * Don't bother to ACK the interrupts if interrupts /* Don't bother to ACK the interrupts if interrupts * are disabled. The 824x cannot clear the interrupts * if they are disabled. */ Loading @@ -122,8 +121,7 @@ static int vsc82xx_config_intr(struct phy_device *phydev) MII_VSC8244_IMASK_MASK : MII_VSC8221_IMASK_MASK); else { /* * The Vitesse PHY cannot clear the interrupt /* The Vitesse PHY cannot clear the interrupt * once it has disabled them, so we clear them first */ err = phy_read(phydev, MII_VSC8244_ISTAT); Loading @@ -146,7 +144,8 @@ static int vsc8221_config_init(struct phy_device *phydev) return err; /* Perhaps we should set EXT_CON1 based on the interface? Options are 802.3Z SerDes or SGMII */ * Options are 802.3Z SerDes or SGMII */ } /* Vitesse 824x */ Loading