Commit 63f71dd0 authored by Joachim Eastwood's avatar Joachim Eastwood Committed by David S. Miller

net/phy/davicom: add irq functions to DM9161E and DM9161A

Both these PHYs support interrupt generation on IC pin 32.
Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e086cadc
...@@ -150,18 +150,24 @@ static struct phy_driver dm91xx_driver[] = { ...@@ -150,18 +150,24 @@ static struct phy_driver dm91xx_driver[] = {
.name = "Davicom DM9161E", .name = "Davicom DM9161E",
.phy_id_mask = 0x0ffffff0, .phy_id_mask = 0x0ffffff0,
.features = PHY_BASIC_FEATURES, .features = PHY_BASIC_FEATURES,
.flags = PHY_HAS_INTERRUPT,
.config_init = dm9161_config_init, .config_init = dm9161_config_init,
.config_aneg = dm9161_config_aneg, .config_aneg = dm9161_config_aneg,
.read_status = genphy_read_status, .read_status = genphy_read_status,
.ack_interrupt = dm9161_ack_interrupt,
.config_intr = dm9161_config_intr,
.driver = { .owner = THIS_MODULE,}, .driver = { .owner = THIS_MODULE,},
}, { }, {
.phy_id = 0x0181b8a0, .phy_id = 0x0181b8a0,
.name = "Davicom DM9161A", .name = "Davicom DM9161A",
.phy_id_mask = 0x0ffffff0, .phy_id_mask = 0x0ffffff0,
.features = PHY_BASIC_FEATURES, .features = PHY_BASIC_FEATURES,
.flags = PHY_HAS_INTERRUPT,
.config_init = dm9161_config_init, .config_init = dm9161_config_init,
.config_aneg = dm9161_config_aneg, .config_aneg = dm9161_config_aneg,
.read_status = genphy_read_status, .read_status = genphy_read_status,
.ack_interrupt = dm9161_ack_interrupt,
.config_intr = dm9161_config_intr,
.driver = { .owner = THIS_MODULE,}, .driver = { .owner = THIS_MODULE,},
}, { }, {
.phy_id = 0x00181b80, .phy_id = 0x00181b80,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment