• Henry Nestler's avatar
    DM9000B: Fix PHY power for network down/up · 108f518c
    Henry Nestler authored
    DM9000 revision B needs 1 ms delay after PHY power-on.
    PHY must be powered on by writing 0 into register DM9000_GPR before
    all other settings will change (see Davicom spec and example code).
    
    Remember, that register DM9000_GPR was not changed by reset sequence.
    
    Without this fix the FIFO is out of sync and sends wrong data after
    sequence of "ifconfig ethX down ; ifconfig ethX up".
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    108f518c
dm9000.c 38.7 KB