]> git.baikalelectronics.ru Git - kernel.git/commit
tulip: Poll link status more frequently for Comet chips
authorOndrej Zary <linux@rainbow-software.org>
Sun, 22 Jun 2014 10:01:12 +0000 (12:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jun 2014 00:12:36 +0000 (17:12 -0700)
commit6e8408a476552fc11dac7d4ddae61f8e8401dfef
tree42ac8f0ae91cc2605db0b006876eb1273cddbf5e
parent5d70d75957b24c03754ff562026eba0ddb58a721
tulip: Poll link status more frequently for Comet chips

It now takes up to 60 seconds to detect cable (un)plug on ADMtek Comet chips.
That's too slow and might cause people to think that it doesn't work at all.

Poll link status every 2 seconds instead of 60 for ADMtek Comet chips.
That should be fast enough while not stressing the system too much.

Tested with ADMtek AN983B.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/timer.c