staging: et131x: Introduce et1310_in_phy_coma() call
authorMark Einon <mark.einon@gmail.com>
Sat, 1 Oct 2011 10:14:11 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:43:12 +0000 (10:43 -0700)
In several places in the code, the pm_csr register is read and the PHY_SW_COMA bit checked.

Move this check into its own small function to make the code more readable.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found