]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95c1c3ae8a6eb4c62ebd086b8d07f9e0023a50f1
tree215ae8b2dc2ec9b6c0d85c9d1048e585df314075
parent037c1a9c39bbd37e587db68302cf0af7db8bcda6
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