Pyun YongHyeon 6ceb40baa9 Fix link state handling in bfe(4).
o conversion to callout(9) API.
 o add a missing driver lock in bfe_ifmedia_sts().
 o use our callout to drive watchdog timer.
 o restart Tx routine if pending queued packets are present in
   watchdog handler.
 o unarm watchdog timer only if there are no queued packets.
 o don't blindly reset phy and let phy driver handle link change
   request in bfe_init_locked().
 o return the status of mii_mediachg() to caller in
   bfe_ifmedia_upd(). Previously it always returned 0 to caller.
 o add check for IFF_DRV_RUNNING flag as well as IFF_DRV_OACTIVE
   in bfe_start_locked().
 o implement miibus_statchg method that keeps track of current
   link state changes as well as negotiated speed/duplex/
   flow-control configuration.
   Reprogram MAC to appropriate duplex state. Flow-control
   configuration was also implemented but commented out at the
   moment. The flow-control configuration will be enabled again
   after we have general flow-control framework in mii layer.

Reported by:	Yousif Hassan < yousif () alumni ! jmu ! edu >
Tesdted by:	Yousif Hassan < yousif () alumni ! jmu ! edu >
2008-01-29 02:15:11 +00:00
..
2007-08-04 17:43:11 +00:00
2007-11-26 18:17:07 +00:00
2008-01-18 16:34:18 +00:00
2008-01-29 02:15:11 +00:00
2007-10-12 06:03:46 +00:00
2007-02-23 19:27:49 +00:00
2007-10-12 06:03:46 +00:00
2007-03-21 03:42:51 +00:00
2008-01-07 09:46:39 +00:00
2007-02-23 19:34:52 +00:00
2008-01-27 01:30:02 +00:00
2007-10-12 06:03:46 +00:00
2007-07-05 06:51:49 +00:00
2007-06-08 01:54:22 +00:00
2008-01-21 09:51:28 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00