lan78xx: Use irq_domain for phy interrupt from USB Int. EP
authorWoojung Huh <woojung.huh@microchip.com>
Tue, 1 Nov 2016 20:02:00 +0000 (20:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2016 19:23:16 +0000 (15:23 -0400)
commitcc89c323a30e73114a21fc125d2f841658a09987
tree1674039ef0cae17a9c1de512b695a36e9adfcd72
parent2331ccc5b3231c35b758fe274f45fbed38467f94
lan78xx: Use irq_domain for phy interrupt from USB Int. EP

To utilize phylib with interrupt fully than handling some of phy stuff in the MAC driver,
create irq_domain for USB interrupt EP of phy interrupt and
pass the irq number to phy_connect_direct() instead of PHY_IGNORE_INTERRUPT.

Idea comes from drivers/gpio/gpio-dl2.c

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c