diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-03-23 23:09:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-24 03:10:42 +0100 |
commit | 0d017e2193ad285d7d0aac429c4c73945729de73 (patch) | |
tree | 6d794c993600a01405459fe4e160b647897fdf33 /drivers/net/ethernet/broadcom/genet/bcmgenet.h | |
parent | net: bcmgenet: propagate errors from bcmgenet_power_down (diff) | |
download | linux-0d017e2193ad285d7d0aac429c4c73945729de73.tar.xz linux-0d017e2193ad285d7d0aac429c4c73945729de73.zip |
net: bcmgenet: update bcmgenet_ephy_power_up to clear CK25_DIS bit
The CK25_DIS bit controls whether a 25Mhz clock is fed to the GPHY or
not, in preparation for powering down the integrated GPHY when relevant,
make sure we clear that bit.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet/bcmgenet.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.h b/drivers/net/ethernet/broadcom/genet/bcmgenet.h index 1ea838946318..a27ef777cc81 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.h +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.h @@ -354,6 +354,7 @@ struct bcmgenet_mib_counters { #define EXT_GPHY_CTRL 0x1C #define EXT_CFG_IDDQ_BIAS (1 << 0) #define EXT_CFG_PWR_DOWN (1 << 1) +#define EXT_CK25_DIS (1 << 4) #define EXT_GPHY_RESET (1 << 5) /* DMA rings size */ |