]> git.baikalelectronics.ru Git - kernel.git/commit
b44: Fix frequent link changes
authorMichael Chan <mchan@broadcom.com>
Sat, 27 Jan 2007 07:59:57 +0000 (23:59 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Jan 2007 14:36:01 +0000 (09:36 -0500)
commit8322de5b133b773d1a6ccc390277c48171ff8bfd
treecebe78adc2313c6890562d0f3e79a61eeb6f28c7
parente5f30c35f9f2dcf587254db58e7f8a38b4b262fb
b44: Fix frequent link changes

This fixes the issue of frequent link changes under heavy traffic reported
below:

http://bugzilla.kernel.org/show_bug.cgi?id=7696
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216338

The b44 chip occasionally needs to be reset when ISTAT_ERRORS are
encountered.  The reset sequence includes a PHY reset that will take many
seconds to complete and cause the link to go down and up.  By skipping the
PHY reset, it will greatly reduce the interruption when ISTAT_ERRORS are
encountered.

Change the full_reset parameter to reset_kind parameter in b44_init_hw().
This will allow PHY reset to be skipped when ISTAT_ERRORS are encountered.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/b44.c