Changeset 2954


Ignore:
Timestamp:
Apr 26, 2012, 1:40:13 AM (2 years ago)
Author:
wmb
Message:

ASIX USB-LAN driver - fixed error in the previous change to this driver. The problem was that only the first open would work, since the phy init code was in a function that is only called after a reset of the USB port.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/usb2/device/net/ax8817x.fth

    r2950 r2954  
    242242 
    243243: ax-start-phy  ( -- ) 
     244   select-phy 
     245   ax-init-mii 
    244246   ax-auto-neg-wait 
    245247; 
     
    296298   ax-toggle-gpio 
    297299   ax-get-phyid 
    298    select-phy 
    299300   ax-stop-mac 
    300301   ax-get-mac-address  2drop 
    301302   ax-set-ipg 
    302    ax-init-mii 
    303303; 
    304304 
Note: See TracChangeset for help on using the changeset viewer.