]> 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)
commit99a51a12d89cc42da80e1edded5827bd2b6ab5fe
tree42ac8f0ae91cc2605db0b006876eb1273cddbf5e
parent4bab6caaed1de131238e263d54c5a0b8e1d30d8b
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