]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sis190: make 10Mbps the default when handling the StationControl register
authorFrancois Romieu <romieu@fr.zoreil.com>
Fri, 2 Sep 2005 22:56:16 +0000 (00:56 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 5 Sep 2005 22:06:53 +0000 (18:06 -0400)
commit3b9286310f720bf2bfb7ecfdce0bbceb20ef9d90
tree167513c1c9fb84d3ff3bedca626a21a3ab018e8f
parent2f2109b0794e6ee49e81d147a3dd7092a87431c7
[PATCH] sis190: make 10Mbps the default when handling the StationControl register

This patch does three things:
- widen the access to the StationControl register (note the SIS_W16
  versus SIS_W32 change);
- default to 10Mbps half duplex when the LPA can not be evaluated
  (reg31->ctl is identical for both). It can be argued that it makes
  sense as the lowest common denominator when everything else failed.
  Btw it works better than the current code. :o)
- remove some enums: they do not document anymore.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sis190.c