Changeset 29598


Ignore:
Timestamp:
2011-12-22T06:43:53+01:00 (6 years ago)
Author:
nbd
Message:

ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ar7240.c

    r29554 r29598  
    6767#define AR7240_AT_CTRL_AGE_EN           BIT(17) 
    6868#define AR7240_AT_CTRL_LEARN_CHANGE     BIT(18) 
     69#define AR7240_AT_CTRL_RESERVED         BIT(19) 
    6970#define AR7240_AT_CTRL_ARP_EN           BIT(20) 
    7071 
     
    471472        /* Enable ARP frame acknowledge, aging, MAC replacing */ 
    472473        ar7240sw_reg_write(mii, AR7240_REG_AT_CTRL, 
     474                AR7240_AT_CTRL_RESERVED | 
    473475                0x2b /* 5 min age time */ | 
    474476                AR7240_AT_CTRL_AGE_EN | 
Note: See TracChangeset for help on using the changeset viewer.