Re: Patch for link detection for R8169

From: Jeff Garzik
Date: Tue Sep 06 2005 - 20:56:31 EST


Francois Romieu wrote:
Miroslaw Mieszczak <mieszcz@xxxxxxxxxxxxxxxx> :

There is a patch to driver of RLT8169 network card. This match make possible detection of the link status even if network interface is down.
This is usefull for laptop users.


(side note: there is maintainer entry for the r8169 and network related
patches are welcome on netdev@xxxxxxxxxxxxxxx)

Can you elaborate why it is usefull for laptop users ?

I am sceptical: tg3/bn2x/skge do not seem to allow it either.

Jeff, is it a requirement ?

Generally most drivers power down hardware, MAC at least, when the interface is down. As such, many drivers do not (cannot), as written, report any useful link information.

IF the phy is not powered down, when the interface goes down, and IF hardware permits, it would certainly be nice to report link state when interface is down. This is a hardware-dependent, driver-dependent choice.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/