net: phy: remove flag PHY_HAS_INTERRUPT from driver configs
Now that flag PHY_HAS_INTERRUPT has been replaced with a check for callbacks config_intr and ack_interrupt, we can remove setting this flag from all driver configs. Last but not least remove flag PHY_HAS_INTERRUPT completely. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0d2e778e38
commit
a4307c0ec6
@@ -399,7 +399,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8234",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -409,7 +408,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8244",
|
||||
.phy_id_mask = 0x000fffc0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -419,7 +417,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8514",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -429,7 +426,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8572",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -439,7 +435,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8574",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -449,7 +444,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8601",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc8601_config_init,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
.config_intr = &vsc82xx_config_intr,
|
||||
@@ -494,7 +488,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.name = "Vitesse VSC8662",
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc824x_config_init,
|
||||
.config_aneg = &vsc82x4_config_aneg,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
@@ -505,7 +498,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.name = "Vitesse VSC8221",
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc8221_config_init,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
.config_intr = &vsc82xx_config_intr,
|
||||
@@ -515,7 +507,6 @@ static struct phy_driver vsc82xx_driver[] = {
|
||||
.phy_id_mask = 0x000ffff0,
|
||||
.name = "Vitesse VSC8211",
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_init = &vsc8221_config_init,
|
||||
.ack_interrupt = &vsc824x_ack_interrupt,
|
||||
.config_intr = &vsc82xx_config_intr,
|
||||
|
Reference in New Issue
Block a user