• Joseph CHANG's avatar
    DM9000B: driver initialization upgrade · 6741f40d
    Joseph CHANG authored
    Fix bug for DM9000 revision B which contain a DSP PHY
    
    DM9000B use DSP PHY instead previouse DM9000 revisions' analog PHY,
    So need extra change in initialization, For
    explicity PHY Reset and PHY init parameter, and
    first DM9000_NCR reset need NCR_MAC_LBK bit by dm9000_probe().
    
    Following DM9000_NCR reset cause by dm9000_open() clear the
    NCR_MAC_LBK bit.
    
    Without this fix, Power-up FIFO pointers error happen around 2%
    rate among Davicom's customers' boards. With this fix, All above
    cases can be solved.
    Signed-off-by: default avatarJoseph CHANG <josright123@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6741f40d
dm9000.c 38.8 KB