yongari 3185636e85 Rework link state tracking and TX/RX MAC configuration.
o Do not report link status if driver is not running.
 o TX/RX MAC configuration should be done with resolved speed,
   duplex and flow control after establishing a link so it can't
   be done in driver initialization routine.
   Move the configuration to miibus_statchg callback which will be
   called whenever any link state change is detected.
   At this moment, flow-control is not enabled yet mainly because
   I was not able to set correct flow control parameters to
   generate TX pause frames.
 o Now TX/RX MAC is enabled only when a valid link is detected.
   Rearragnge hardware initialization routine a bit to leave
   enabling MAC to miibus_statchg callback.  In order to that,
   TX/RX DMA engine is enabled in et_init_locked().
 o Introduce ET_FLAG_LINK flag to track current link state.
 o Introduce ET_FLAG_FASTETHER flag to mark whether controller is
   fast ethernet.  This flag is checked in miibus_statchg callback
   to know whether PHY established a valid link.
 o In et_stop(), TX/RX MAC is explicitly disabled instead of
   relying on et_reset().  And move et_reset() from et_stop() to
   controller initialization.  Controler reset is not required here
   and it would also clear critial registers(i.e station address,
   RX filter configuration, WOL etc) that are required to make WOL
   work.
 o Switching to current media is done in et_init_locked() after
   setting IFF_DRV_RUNNING flag.  This should ensure reliable
   auto-negotiation/manual link establishment.
 o In et_start_locked(), check whether driver got a valid link
   before trying to send frames.
 o Remove checking a link in et_tick() as this is done by
   miibus_statchg callback.
2011-12-07 21:29:51 +00:00
..
2011-10-13 20:06:19 +00:00
2011-10-10 02:54:58 +00:00
2010-10-13 17:38:23 +00:00
2010-10-13 17:38:23 +00:00
2011-02-21 09:01:34 +00:00
2011-11-23 20:27:26 +00:00
2011-04-23 23:11:44 +00:00
2011-06-28 08:36:48 +00:00
2011-02-21 09:01:34 +00:00
MFC
2011-05-16 16:34:03 +00:00
MFC
2011-05-31 21:22:44 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-02-21 09:01:34 +00:00
2011-10-18 08:09:44 +00:00
2011-03-24 08:56:12 +00:00
2011-05-15 13:17:08 +00:00
2011-06-28 08:36:48 +00:00
MFC
2011-05-13 20:58:48 +00:00
2011-02-21 09:01:34 +00:00
2011-10-07 08:59:54 +00:00
2011-11-14 20:38:14 +00:00
2011-10-18 08:09:44 +00:00
2011-11-23 05:34:01 +00:00
2011-02-21 09:01:34 +00:00
2011-10-16 14:30:28 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-11-23 20:27:26 +00:00