]> 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)
commita52b91a064a1fb88d9adbae6bb7900693072c16d
tree1674039ef0cae17a9c1de512b695a36e9adfcd72
parentb41f36dcb81d3742b19cb65733804612c617a18d
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