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.dea...@arm.com>
> Signed-off-by: Jeremy Linton <jeremy.lin...@arm.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.dea...@arm.com>

Will

Reply via email to