forked from Ivasoft/openwrt
ar8216: enable cpu port to receive arp and broadcast frames for ar8236
Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 43668
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#define AR8216_REG_FLOOD_MASK 0x002C
|
||||
#define AR8216_FM_UNI_DEST_PORTS BITS(0, 6)
|
||||
#define AR8216_FM_MULTI_DEST_PORTS BITS(16, 6)
|
||||
#define AR8236_FM_CPU_BROADCAST_EN BIT(26)
|
||||
#define AR8236_FM_CPU_BCAST_FWD_EN BIT(25)
|
||||
|
||||
#define AR8216_REG_GLOBAL_CTRL 0x0030
|
||||
#define AR8216_GCTRL_MTU BITS(0, 11)
|
||||
@@ -93,6 +95,7 @@
|
||||
#define AR8216_ATU_CTRL_AGE_EN BIT(17)
|
||||
#define AR8216_ATU_CTRL_AGE_TIME BITS(0, 16)
|
||||
#define AR8216_ATU_CTRL_AGE_TIME_S 0
|
||||
#define AR8236_ATU_CTRL_RES BIT(20)
|
||||
|
||||
#define AR8216_REG_MIB_FUNC 0x0080
|
||||
#define AR8216_MIB_TIMER BITS(0, 16)
|
||||
|
||||
Reference in New Issue
Block a user