Changeset 24898


Ignore:
Timestamp:
2011-01-04T14:44:05+01:00 (7 years ago)
Author:
juhosg
Message:

ramips: ramips_esw: fix typos

Patch from #8577.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ramips_esw.c

    r24340 r24898  
    66#define RT305X_ESW_REG_FCT0             0x08 
    77#define RT305X_ESW_REG_PFC1             0x14 
    8 #define RT305X_ESW_REG_PVIDC(_n)        (0x48 + 4 * (_n)) 
     8#define RT305X_ESW_REG_PVIDC(_n)        (0x40 + 4 * (_n)) 
    99#define RT305X_ESW_REG_VLANI(_n)        (0x50 + 4 * (_n)) 
    1010#define RT305X_ESW_REG_VMSC(_n)         (0x70 + 4 * (_n)) 
     
    173173        rt305x_esw_rmw(esw, 
    174174                       RT305X_ESW_REG_PVIDC(port / 2), 
    175                        RT305X_ESW_PVIDC_PVID_S << s, 
     175                       RT305X_ESW_PVIDC_PVID_M << s, 
    176176                       (pvid & RT305X_ESW_PVIDC_PVID_M) << s); 
    177177} 
Note: See TracChangeset for help on using the changeset viewer.