Pyun YongHyeon 10f695ee22 Reimplement miibus_statchg method. Don't rely on link state change
interrupt. If we want to use link state change interrupt ste(4)
should also implement auto-negotiation complete handler as well as
various PHY access handling. Now link state change is handled by
mii(4) polling so it will automatically update link state UP/DOWN
events which in turn make ste(4) usable with lagg(4).

r199559 added a private timer to drive watchdog and the timer also
used to drive MAC statistics update. Because the MAC statistics
update is called whenever statistics counter reaches near-full, it
drove watchdog timer too fast such that it caused false watchdog
timeouts under heavy TX traffic conditions.
Fix the regression by separating ste_stats_update() from driving
watchdog timer and introduce a new function ste_tick() that handles
periodic job such as driving watchdog, MAC statistics update and
link state check etc.
While I'm here clear armed watchdog timer in ste_stop().
2009-12-22 20:11:56 +00:00
..
2009-11-16 21:47:12 +00:00
2009-05-13 22:31:25 +00:00
2009-10-28 15:22:58 +00:00
2009-09-14 21:33:00 +00:00
2009-11-18 18:48:18 +00:00
2009-11-11 20:29:40 +00:00
2009-10-30 18:30:13 +00:00
2009-11-25 13:31:17 +00:00
2009-02-05 19:37:49 +00:00
2009-06-24 20:43:51 +00:00
2009-06-21 19:17:22 +00:00
2009-12-16 12:25:27 +00:00
2009-10-24 09:55:11 +00:00
2009-04-14 11:23:09 +00:00
2009-06-14 00:15:26 +00:00
2009-09-06 10:27:45 +00:00
2009-05-25 22:50:11 +00:00
2009-02-05 19:37:49 +00:00
2009-08-23 08:04:40 +00:00