Subject: Re: [PATCH 4/4] net: smsc911x: Move interrupt allocation to open/stop

From: Will Deacon <[email-masked]>
Date: Fri, 2 Sep 2016 17:53:45 +0100

On Thu, Sep 01, 2016 at 03:15:09PM -0500, Jeremy Linton wrote:
> The /proc/irq/xx information is incorrect for smsc911x because
> the request_irq is happening before the register_netdev has the
> proper device name. Moving it to the open also fixes the case
> of when the device is renamed.
> 
> Reported-by: Will Deacon <[email-masked]>
> Signed-off-by: Jeremy Linton <[email-masked]>
> ---
>  drivers/net/ethernet/smsc/smsc911x.c | 47 ++++++++++++++----------------------
>  1 file changed, 18 insertions(+), 29 deletions(-)

FWIW, this fixes the interface naming under /proc/<irq num>/ethX for me:

Tested-by: Will Deacon <[email-masked]>

Will