lkml.org 
[lkml]   [2023]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net v3 0/2] smsc911x: fix issues when interface is not up yet
Date
Similar to upstream commit 7f5ebf5dae42 ("ravb: avoid PHY being resumed
when interface is not up"), here is the fix for SMSC911x (patch 2).
Also, I saw a splat running 'ifconfig' when interface was not up. Patch
1 fixes it.

Patches are based on v6.2-rc3 and tested on a Renesas APE6-EK.

Changes since v2:
* added tags for patch 1
* patch 2 has been refactored to be less intrusive for easier
backporting

Wolfram Sang (2):
smsc911x: only update stats when interface is up
smsc911x: avoid PHY being resumed when interface is not up

drivers/net/ethernet/smsc/smsc911x.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2023-03-27 01:11    [W:0.126 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site