]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: at803x: support interrupt on 8030 and 8035
authorMåns Rullgård <mans@mansr.com>
Thu, 12 Nov 2015 17:40:20 +0000 (17:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2015 19:18:40 +0000 (14:18 -0500)
commite89591d656cac003deae5a44b0caa42ed5f286da
tree0cc852df44f2b19ea9721c6fad5adbe07ef92b03
parent40d6ea8790e2c61a4a7b77d63456567f6afa6baf
net: phy: at803x: support interrupt on 8030 and 8035

Commit c0c6a5540 "phy/at8031: enable at8031 to work on interrupt mode"
added interrupt support for the 8031 PHY but left out the other two
chips supported by this driver.

This patch sets the .ack_interrupt and .config_intr functions for the
8030 and 8035 drivers as well.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c