[PATCH REPOST] mii: check carrier state even when force_media == 1

2006-02-09 Thread John W. Linville
Drivers using mii_check_media (via-rhine in particular) and also forcing link parameters with ethtool can reach a state where the link goes down and never comes back up. This is because mii_check_media short-circuits early if mii-force_media != 0. This was discussed in a couple of past threads,

Re: [PATCH REPOST] mii: check carrier state even when force_media == 1

2006-02-09 Thread Steffen Klassert
On Thu, Feb 09, 2006 at 05:19:45PM -0500, John W. Linville wrote: Drivers using mii_check_media (via-rhine in particular) and also forcing link parameters with ethtool can reach a state where the link goes down and never comes back up. This is because mii_check_media short-circuits early if