2
0
forked from Ivasoft/openwrt

ar8216: disable EEE by default on AR8327 to fix stability issues (#14597)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41577
This commit is contained in:
Felix Fietkau
2014-07-10 21:11:02 +00:00
parent 9c51ab13d3
commit a17a58e310
2 changed files with 12 additions and 0 deletions

View File

@@ -366,6 +366,9 @@
#define AR8327_SGMII_CTRL_EN_RX BIT(2)
#define AR8327_SGMII_CTRL_EN_TX BIT(3)
#define AR8327_REG_EEE_CTRL 0x100
#define AR8327_EEE_CTRL_DISABLE_PHY(_i) BIT(4 + (_i) * 2)
#define AR8327_REG_PORT_VLAN0(_i) (0x420 + (_i) * 0x8)
#define AR8327_PORT_VLAN0_DEF_SVID BITS(0, 12)
#define AR8327_PORT_VLAN0_DEF_SVID_S 0