aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2010-03-12 08:00:17 +0000
committerDavid S. Miller <[email protected]>2010-03-12 08:00:17 +0000
commit964ad81cbd933e5fa310faeec1e923c14651284b (patch)
tree35b2be921745d6a3077cb363d96eceea68eb318d /net/lapb/lapb_subr.c
parentnet: add ColdFire support to the smc91x driver (diff)
downloadkernel-964ad81cbd933e5fa310faeec1e923c14651284b.tar.gz
kernel-964ad81cbd933e5fa310faeec1e923c14651284b.zip
ipconfig: Handle devices which take some time to come up.
Some network devices, particularly USB ones, take several seconds to fully init and appear in the device list. If the user turned ipconfig on, they are using it for NFS root or some other early booting purpose. So it makes no sense to just flat out fail immediately if the device isn't found. It also doesn't make sense to just jack up the initial wait to something crazy like 10 seconds. Instead, poll immediately, and then periodically once a second, waiting for a usable device to appear. Fail after 12 seconds. Signed-off-by: David S. Miller <[email protected]> Tested-by: Christian Pellegrin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions