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-06 23:11:19 +00:00
2010-07-23 11:00:46 +00:00
2010-07-12 10:18:10 +00:00
2010-09-01 05:34:17 +00:00
2010-08-19 16:41:27 +00:00
2010-06-02 17:27:23 +00:00
2010-08-02 22:26:08 +00:00
2010-05-24 16:27:47 +00:00
2010-08-19 16:41:27 +00:00