[PATCH] via-rhine: link state fix
authorRoger Luethi <rl@hellgate.ch>
Tue, 28 Mar 2006 18:53:56 +0000 (20:53 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 29 Mar 2006 22:28:49 +0000 (17:28 -0500)
commit00b428c2ab35c81905b3e39d673689216dbd4742
tree1d817a7976f5a837a9c37ab9a6f46fa85c0aefdd
parentb8ab2dc3e1a7c525ca73ba0af3518ec0b7654b3b
[PATCH] via-rhine: link state fix

Problems with link state detection have been reported several times in the
past months.

Denis Vlasenko did all the work tracking it down. Jeff Garzik suggested the
proper place for the fix.

When using the mii library, the driver needs to check mii->force_media
and set dev->state accordingly.

Signed-off-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/via-rhine.c