> > @@ -2668,6 +2821,13 @@ static int lan78xx_bind(struct lan78xx_net *dev,
> struct usb_interface *intf)
> >
> > dev->net->hw_features = dev->net->features;
> >
> > + ret = lan78xx_setup_irq_domain(dev);
> > + if (ret < 0) {
> > + netdev_warn(dev->net,
> > +
From:
Date: Mon, 31 Oct 2016 21:44:37 +
> @@ -2668,6 +2821,13 @@ static int lan78xx_bind(struct lan78xx_net *dev,
> struct usb_interface *intf)
>
> dev->net->hw_features = dev->net->features;
>
> + ret = lan78xx_setup_irq_domain(dev);
> + if (ret < 0) {
> + netd
From: Woojung Huh
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-of