Re: Patch for link detection for R8169

From: Miroslaw Mieszczak
Date: Wed Sep 07 2005 - 09:46:22 EST


Francois Romieu napisaÅ(a):

Valdis.Kletnieks@xxxxxx <Valdis.Kletnieks@xxxxxx> :
[...]

Ok, thanks for the hint.

Currently one can do 'ifconfig ethX up', check the link status, then try
to DHCP or whatever. Apparently a few drivers do not support tne detection
of link as presented above. So is it anything like a vendor requirement/a
standard (or should it be the new right way (TM)) or does the userspace
needs fixing wrt its expectation ?


The main problem with this driver is, that if I do like this, then every 10 seconds I receive new message from the network card in kernel log.
There is following message:

Sep 4 16:31:43 laptop_mirka eth0: PHY reset until link up
Sep 4 16:31:53 laptop_mirka eth0: PHY reset until link up

Do you think, that this is correct way t do the things? I
In my opinion, the solution, that link status can be checked (if hardware allow this) when interface is down is more usefull.


-
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/