staging: et131x: Bugfix - driver doesn't autoreneg after cable unplug/plug events
authorMark Einon <mark.einon@gmail.com>
Sun, 25 Sep 2011 18:17:57 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:39:17 +0000 (17:39 -0700)
commitc28a613316c8b02d4ae4ac1a2548a363b019ae77
tree1c926d220504852d56443900ee29b937a4392f12
parent2c2815aee78fc992872617eaeb283e6f164d126a
staging: et131x: Bugfix - driver doesn't autoreneg after cable unplug/plug events

This driver has a long standing bug where removing and inserting the ethernet cable results in no packets being
trnasmitted / received and hence no autonegotiation occurring.

Fixed by resetting the rx/tx engines and queue on detecting a cable being removed.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x_initpci.c