netpoll: Introduce netpoll_carrier_timeout kernel option
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 8 Jul 2009 18:10:56 +0000 (11:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 18:10:56 +0000 (11:10 -0700)
commitbff38771e1065c7fc3de87e47ba366151eea573c
tree215ae8b2dc2ec9b6c0d85c9d1048e585df314075
parent34701fde8f4bf207ca96d10b8700a8667157854c
netpoll: Introduce netpoll_carrier_timeout kernel option

Some PHYs require longer timeouts for carrier detection, and
auto-negotiation process may take indefinite amount of time.

It may be inconvenient to force longer timeouts for sane PHYs,
so let's introduce a kernel command line option.

Since we're using module_param(), the option also can be
changed in runtime.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/kernel-parameters.txt
net/core/netpoll.c