]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15373797bc4ec53a946383dc64eef4d24968a12a
tree1674039ef0cae17a9c1de512b695a36e9adfcd72
parent942521c0b5e4ee884688f9b3263e60d84f2d0c7c
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