lkml.org 
[lkml]   [2005]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Patch for link detection for R8169
From
Date
On Tue, 06 Sep 2005 22:42:21 +0200, Francois Romieu said:

> 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 "ifconfig up then check link status" method is probably usable for the
vast majority of cases. Are there any driver/card combos that *can't* be fixed
to support that? (A somewhat hidden side effect is that if you're doing this,
the driver also needs to be able to support additional ifconfig calls later
to set encapsulation, address/netmask, and the like. I've run across dain-bramaged
older hardware/software (not Linux-based) that would require an 'ifconfig down'
followed by 'ifconfig foo <value> bar <value> up' to change stuff....
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-09-06 23:01    [W:0.091 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site