RE: [PATCH v3 net-next] lan78xx: Use irq_domain for phy interrupt from USB Int. EP

2016-11-01 Thread Woojung.Huh
> > @@ -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, > > +

Re: [PATCH v3 net-next] lan78xx: Use irq_domain for phy interrupt from USB Int. EP

2016-11-01 Thread David Miller
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

[PATCH v3 net-next] lan78xx: Use irq_domain for phy interrupt from USB Int. EP

2016-10-31 Thread Woojung.Huh
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