staging: et131x: Remove et131x_check_mii() and move functionality into et131x_adjust_...
authorMark Einon <mark.einon@gmail.com>
Sun, 25 Sep 2011 18:17:54 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:39:15 +0000 (17:39 -0700)
commit268420aa840ce6d5c18035ce6d7ebc4244b2cb1f
treea2b5a806dd4077a5473f7cf526f5c8b56be6d12f
parent66a0cc1a02054a53ae8e6d1af0870d4ab799416d
staging: et131x: Remove et131x_check_mii() and move functionality into et131x_adjust_link()

et131x_check_mii() is now only being called from et131x_adjust_link.
Removed this call and associated subroutines, putting the functionality directly into et131x_adjust_link(), in preparation for further simplification.
Changed register checks from bare BMSR checks to use phydev/netif versions, also now uses adapter->link to track link state changes.

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