diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-27 21:02:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-27 21:02:41 +0000 |
commit | 026245749a40e2d94006df8933b93ade9bfa652e (patch) | |
tree | 9b9c72db8a308b9a8a28cdbbe2aab02b0c1b6ffb /target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | |
parent | 2708355504b356878c8786a85ee3e77d9302c2be (diff) | |
download | master-187ad058-026245749a40e2d94006df8933b93ade9bfa652e.tar.gz master-187ad058-026245749a40e2d94006df8933b93ade9bfa652e.tar.bz2 master-187ad058-026245749a40e2d94006df8933b93ade9bfa652e.zip |
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h index ec764c5c2f..881741660b 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h @@ -322,6 +322,14 @@ static inline int ag71xx_desc_pktlen(struct ag71xx_desc *desc) #define MII_CFG_CLK_DIV_14 5 #define MII_CFG_CLK_DIV_20 6 #define MII_CFG_CLK_DIV_28 7 +#define MII_CFG_CLK_DIV_34 8 +#define MII_CFG_CLK_DIV_42 9 +#define MII_CFG_CLK_DIV_50 10 +#define MII_CFG_CLK_DIV_58 11 +#define MII_CFG_CLK_DIV_66 12 +#define MII_CFG_CLK_DIV_74 13 +#define MII_CFG_CLK_DIV_82 14 +#define MII_CFG_CLK_DIV_98 15 #define MII_CFG_RESET BIT(31) #define MII_CMD_WRITE 0x0 |