]> git.openfabrics.org - ~emulex/infiniband.git/commit
phy/micrel: Add suspend/resume support to Micrel PHYs
authorPatrice Vilchez <patrice.vilchez@atmel.com>
Thu, 19 Sep 2013 17:40:48 +0000 (19:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Sep 2013 18:41:03 +0000 (14:41 -0400)
commit1a5465f5d6a23e84ef5c06cb32f3d8c26632f42a
tree71bf1a15322a0b505be7de2e2e3bca4c64b70b8d
parentdf62cdf348c91baac61b4cb19d19ea1ef87b271e
phy/micrel: Add suspend/resume support to Micrel PHYs

All supported Micrel PHYs implement the standard "power down" bit 11 of BMCR,
so this patch adds support using the generic genphy_{suspend,resume} functions.

Signed-off-by: Patrice Vilchez <patrice.vilchez@atmel.com>
[b.brezillon@overkiz.com: adapt to newer kernel and generalize to other phys]
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
[nicolas.ferre@atmel.com: commit message modification]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: David J. Choi <david.choi@micrel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c