[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160902165344.GJ3423@arm.com>
Date: Fri, 2 Sep 2016 17:53:45 +0100
From: Will Deacon <will.deacon@....com>
To: Jeremy Linton <jeremy.linton@....com>
Cc: netdev@...r.kernel.org, steve.glendinning@...well.net,
sergei.shtylyov@...entembedded.com, andrew@...n.ch
Subject: Re: [PATCH 4/4] net: smsc911x: Move interrupt allocation to open/stop
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 <will.deacon@....com>
> Signed-off-by: Jeremy Linton <jeremy.linton@....com>
> ---
> 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 <will.deacon@....com>
Will
Powered by blists - more mailing lists