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)
commit143fa2efea137d24baee3c5920fb7b0dacc09b6c
tree42ac8f0ae91cc2605db0b006876eb1273cddbf5e
parent3acc74619b0175b7a154cf8dc54813f6faf97aa9
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