diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-12-11 08:44:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-11 19:40:48 +0100 |
commit | 1a0ab7675d27542ab30f2fc6af8c3385cc7f708e (patch) | |
tree | b4e55503cfdecb82eafcafbf24e178052f2fcf53 /drivers/net/ethernet/broadcom/bgmac.h | |
parent | bgmac: reset cached MAC state during chip reset (diff) | |
download | linux-1a0ab7675d27542ab30f2fc6af8c3385cc7f708e.tar.xz linux-1a0ab7675d27542ab30f2fc6af8c3385cc7f708e.zip |
bgmac: replace some magic values with defines
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bgmac.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bgmac.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bgmac.h b/drivers/net/ethernet/broadcom/bgmac.h index 550f2a8e85a9..2d44119a7648 100644 --- a/drivers/net/ethernet/broadcom/bgmac.h +++ b/drivers/net/ethernet/broadcom/bgmac.h @@ -95,7 +95,11 @@ #define BGMAC_RXQ_CTL_MDP_SHIFT 24 #define BGMAC_GPIO_SELECT 0x194 #define BGMAC_GPIO_OUTPUT_EN 0x198 -/* For 0x1e0 see BCMA_CLKCTLST */ + +/* For 0x1e0 see BCMA_CLKCTLST. Below are BGMAC specific bits */ +#define BGMAC_BCMA_CLKCTLST_MISC_PLL_REQ 0x00000100 +#define BGMAC_BCMA_CLKCTLST_MISC_PLL_ST 0x01000000 + #define BGMAC_HW_WAR 0x1e4 #define BGMAC_PWR_CTL 0x1e8 #define BGMAC_DMA_BASE0 0x200 /* Tx and Rx controller */ |