yongari 4d98740d79 Overhaul link state change handling. Previously sis(4) blindly
configured TX/RX MACs before getting a valid link. After that, when
link state change callback is called, it called device
initialization again to reconfigure TX/RX MACs depending on
resolved link state. This hack created several bad side effects and
it required more hacks to not collide with sis_tick callback as
well as disabling switching to currently selected media in device
initialization. Also it seems sis(4) was used to be a template
driver for long time so other drivers which was modeled after
sis(4) also should be changed.

TX/RX MACs are now reconfigured after getting a valid link. Fix for
short cable error is also applied after getting a link because it's
only valid when the resolved speed is 100Mbps.

While I'm here slightly reorganize interrupt handler such that
sis(4) always read SIS_ISR register to see whether the interrupt is
ours or not. This change removes another hack and make it possible
to nuke sis_stopped variable in softc.
2010-09-01 21:42:19 +00:00
..
2010-08-28 07:24:45 +00:00
2010-07-28 16:24:11 +00:00
2010-07-21 18:50:24 +00:00
2010-01-28 08:41:30 +00:00
2010-07-26 23:24:42 +00:00
2010-01-03 23:28:32 +00:00
2010-08-03 16:30:56 +00:00
2010-01-03 23:26:29 +00:00
2010-07-19 18:47:18 +00:00
2010-08-07 08:31:32 +00:00
2010-01-08 20:40:28 +00:00
2010-05-11 17:14:17 +00:00
2010-01-08 15:57:56 +00:00
2010-07-26 10:37:14 +00:00
2010-01-01 22:47:53 +00:00
2010-01-28 08:41:30 +00:00
2010-01-03 23:31:58 +00:00
2010-05-20 13:16:42 +00:00
2010-07-19 20:31:04 +00:00
2010-01-28 08:41:30 +00:00
2010-07-19 18:47:18 +00:00
2009-12-25 00:23:47 +00:00