This series tries to address few problematic aspects raised by Russell. Concrete example is the Marvell 88x3310, the changes should be helpful for other complex C45 PHY's too.
v2: - added patch enabling interrupts also if phylib state machine isn't started - removed patch dealing with the double link status read This one needs little bit more thinking and will go separately. Heiner Kallweit (3): net: phy: enable interrupts when PHY is attached already net: phy: add callback for custom interrupt handler to struct phy_driver net: phy: export phy_queue_state_machine drivers/net/phy/phy.c | 53 +++++++++++++++++++++++------------- drivers/net/phy/phy_device.c | 2 +- include/linux/phy.h | 6 +++- 3 files changed, 40 insertions(+), 21 deletions(-) -- 2.21.0