Subversion Repositories Kolibri OS

Rev

Rev 3205 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3205 Rev 3346
Line 303... Line 303...
303
 
303
 
Line 304... Line 304...
304
; Fill in the direct call addresses into the struct
304
; Fill in the direct call addresses into the struct
305
 
305
 
306
        mov     [device.reset], reset
-
 
307
        mov     [device.transmit], transmit
-
 
308
        mov     [device.get_MAC], read_mac
306
        mov     [device.reset], reset
309
        mov     [device.set_MAC], .fail
307
        mov     [device.transmit], transmit
Line 310... Line 308...
310
        mov     [device.unload], unload
308
        mov     [device.unload], unload
Line 618... Line 616...
618
        out     dx, ax
616
        out     dx, ax
Line 619... Line 617...
619
 
617
 
620
; Set the mtu, kernel will be able to send now
618
; Set the mtu, kernel will be able to send now
Line -... Line 619...
-
 
619
        mov     [device.mtu], 1514
-
 
620
 
-
 
621
; Set link state to unknown
621
        mov     [device.mtu], 1514
622
        mov     [device.state], ETH_LINK_UNKOWN
622
 
623
 
623
        DEBUGF  1,"Reset ok\n"
-
 
624
        xor     eax, eax
624
        DEBUGF  1,"Reset ok\n"
Line 625... Line 625...
625
 
625
        xor     eax, eax