yongari
d0b9b8460d
Rework link state tracking and remove superfluous link UP/DOWN
...
messages.
o Add check for actually resolved speed in miibus_statchg callback
instead of blindly reprogramming BCE_EMAC_MODE register. The
callback may be called multiple times(e.g. link UP, link
transition, auto-negotiate complete etc) while auto-negotiation
is in progress. All unresolved link state changes are ignored
now and setting BCE_EMAC_MODE after link establishment is done
once.
o bce(4) is careful enough not to drive MII_TICK if driver got a
valid link. To detect lost link, bce(4) relied on link state
change interrupt and if driver see the interrupt, it forced to
drive MII_TICK by calling bce_tick() in interrupt handler.
Because bce(4) generates multiple link state change interrupts
while auto-negotiation is in progress, bce_tick() would be
called multiple times and this resulted in generating multiple
link UP/DOWN messages.
With this change, bce_tick() is not called in interrupt handler
anymore such that miibus_statchg callback handles link state
changes with consistent manner.
Reviewed by: davidch
2011-12-13 18:11:25 +00:00
..
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-26 13:43:50 +00:00
2011-10-16 21:01:42 +00:00
2011-01-06 21:02:14 +00:00
2011-02-21 09:01:34 +00:00
2011-11-11 19:15:32 +00:00
2011-10-17 19:49:00 +00:00
2011-03-23 13:10:15 +00:00
2011-12-02 12:52:33 +00:00
2011-07-15 00:36:47 +00:00
2011-10-17 19:49:00 +00:00
2011-10-17 19:49:00 +00:00
2011-06-07 06:18:02 +00:00
2011-11-22 21:28:20 +00:00
2011-11-07 15:43:11 +00:00
2011-11-23 21:43:51 +00:00
2011-10-13 20:06:19 +00:00
2011-12-02 12:52:33 +00:00
2011-11-23 07:12:26 +00:00
2011-11-07 15:43:11 +00:00
2011-12-13 18:11:25 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-14 18:21:27 +00:00
2011-11-22 21:28:20 +00:00
2011-01-18 15:23:16 +00:00
2011-10-10 02:54:58 +00:00
2011-12-10 21:05:06 +00:00
2011-11-22 21:28:20 +00:00
2011-11-07 15:43:11 +00:00
2011-11-22 21:28:20 +00:00
2010-10-13 17:38:23 +00:00
2011-11-22 21:28:20 +00:00
2011-08-27 14:24:27 +00:00
2011-05-22 20:55:54 +00:00
2011-11-07 06:44:47 +00:00
2011-12-13 14:06:01 +00:00
2011-09-19 10:58:30 +00:00
2010-10-13 17:38:23 +00:00
2011-12-12 12:30:44 +00:00
2011-11-07 15:43:11 +00:00
2011-02-21 09:01:34 +00:00
2011-11-22 21:28:20 +00:00
2011-12-12 18:43:24 +00:00
2011-11-23 20:27:26 +00:00
2011-11-07 15:43:11 +00:00
2011-12-13 14:06:01 +00:00
2011-12-12 18:43:24 +00:00
2011-12-12 18:27:34 +00:00
2011-12-05 18:10:43 +00:00
2011-11-22 21:28:20 +00:00
2011-06-28 08:36:48 +00:00
2011-02-21 09:01:34 +00:00
2011-11-22 21:55:40 +00:00
2011-12-09 23:37:55 +00:00
2011-01-18 21:14:23 +00:00
2011-12-12 21:12:07 +00:00
2011-12-13 14:06:01 +00:00
2011-12-02 15:24:39 +00:00
2011-11-22 21:28:20 +00:00
2011-02-16 20:07:44 +00:00
2011-10-08 12:33:10 +00:00
2011-11-22 21:28:20 +00:00
2011-05-16 16:34:03 +00:00
2011-12-04 12:10:24 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-23 21:43:51 +00:00
2011-11-23 21:43:51 +00:00
2011-11-23 21:43:51 +00:00
2011-12-12 13:12:55 +00:00
2011-11-22 21:28:20 +00:00
2011-09-02 17:06:50 +00:00
2011-11-22 21:28:20 +00:00
2010-12-10 22:20:11 +00:00
2011-11-22 21:28:20 +00:00
2011-12-04 11:55:33 +00:00
2011-11-07 06:44:47 +00:00
2011-11-07 15:43:11 +00:00
2011-05-31 21:22:44 +00:00
2011-11-07 06:44:47 +00:00
2011-12-13 09:58:05 +00:00
2011-01-05 23:15:22 +00:00
2011-05-31 21:22:44 +00:00
2011-11-21 22:19:12 +00:00
2011-02-21 09:01:34 +00:00
2011-12-12 18:27:28 +00:00
2011-05-03 19:51:29 +00:00
2011-11-07 15:43:11 +00:00
2011-07-17 08:19:19 +00:00
2011-10-18 08:09:44 +00:00
2011-10-02 23:22:38 +00:00
2011-03-24 08:56:12 +00:00
2011-11-22 21:28:20 +00:00
2011-11-11 22:57:52 +00:00
2011-11-07 15:43:11 +00:00
2011-11-22 21:28:20 +00:00
2011-12-13 00:38:50 +00:00
2011-01-17 22:58:28 +00:00
2011-11-22 21:28:20 +00:00
2010-10-15 14:52:11 +00:00
2011-12-05 21:38:45 +00:00
2011-05-15 13:17:08 +00:00
2011-11-22 21:28:20 +00:00
2011-10-03 20:32:55 +00:00
2011-11-07 15:43:11 +00:00
2011-11-22 21:28:20 +00:00
2011-11-01 18:28:33 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:56:55 +00:00
2011-11-07 15:43:11 +00:00
2011-07-12 15:07:17 +00:00
2011-06-28 08:36:48 +00:00
2011-12-05 15:21:21 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-07 06:44:47 +00:00
2011-05-13 20:58:48 +00:00
2011-11-22 21:28:20 +00:00
2011-04-03 11:55:48 +00:00
2011-02-21 09:01:34 +00:00
2011-12-02 15:24:39 +00:00
2011-01-19 00:57:58 +00:00
2011-12-13 14:06:01 +00:00
2011-11-22 21:28:20 +00:00
2011-11-30 18:33:23 +00:00
2011-11-22 21:28:20 +00:00
2010-09-05 20:04:02 +00:00
2011-11-22 21:56:55 +00:00
2011-11-22 21:56:55 +00:00
2011-06-26 18:26:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-16 02:00:55 +00:00
2011-11-22 21:28:20 +00:00
2011-04-09 14:45:50 +00:00
2011-02-21 09:01:34 +00:00
2011-12-05 15:33:13 +00:00
2011-11-07 15:43:11 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-07 15:43:11 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-28 17:19:05 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:56:55 +00:00
2011-11-22 21:56:55 +00:00
2011-11-15 17:15:09 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-01 16:13:59 +00:00
2010-05-03 07:32:50 +00:00
2011-08-11 12:30:23 +00:00
2011-11-22 21:28:20 +00:00
2011-12-12 18:43:24 +00:00
2011-12-13 14:06:01 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:55:40 +00:00
2011-08-16 20:07:47 +00:00
2011-10-07 08:59:54 +00:00
2011-12-11 21:10:11 +00:00
2011-11-07 06:44:47 +00:00
2011-11-14 20:38:14 +00:00
2011-11-22 21:28:20 +00:00
2010-08-12 00:16:18 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-11-22 21:28:20 +00:00
2011-12-12 18:43:24 +00:00
2011-05-03 19:51:29 +00:00
2011-03-23 13:10:15 +00:00
2011-12-13 13:32:56 +00:00
2011-11-22 21:28:20 +00:00
2011-12-06 08:08:52 +00:00
2011-11-22 21:28:20 +00:00
2011-12-12 09:50:33 +00:00
2011-12-06 06:28:32 +00:00
2011-10-18 08:09:44 +00:00
2011-11-28 19:03:59 +00:00
2011-11-23 05:34:01 +00:00
2011-02-21 09:01:34 +00:00
2011-12-12 18:43:24 +00:00
2011-04-27 16:43:03 +00:00
2011-11-22 21:28:20 +00:00
2011-11-07 15:43:11 +00:00
2011-05-31 21:22:44 +00:00
2011-11-07 15:43:11 +00:00
2011-12-13 14:06:01 +00:00
2011-11-23 20:27:26 +00:00