Changeset 44788


Ignore:
Timestamp:
2015-03-15T15:19:28+01:00 (3 years ago)
Author:
jogo
Message:

b53: global config is part of the management page, not the control page

It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@…>
Signed-off-by: Jonas Gorski <jogo@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/b53/b53_common.c

    r39683 r44788  
    409409        u8 gc; 
    410410 
    411         b53_read8(dev, B53_CTRL_PAGE, B53_GLOBAL_CONFIG, &gc); 
     411        b53_read8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, &gc); 
    412412 
    413413        gc &= ~(GC_RESET_MIB | GC_MIB_AC_EN); 
    414414 
    415         b53_write8(dev, B53_CTRL_PAGE, B53_GLOBAL_CONFIG, gc); 
     415        b53_write8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, gc); 
    416416} 
    417417 
Note: See TracChangeset for help on using the changeset viewer.