Subversion Repositories Kolibri OS

Rev

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

Rev 2935 Rev 2981
Line 662... Line 662...
662
        [eax+00]:2,[eax+01]:2,[eax+02]:2,[eax+03]:2,[eax+04]:2,[eax+05]:2,\
662
        [eax+00]:2,[eax+01]:2,[eax+02]:2,[eax+03]:2,[eax+04]:2,[eax+05]:2,\
663
        [eax+06]:2,[eax+07]:2,[eax+08]:2,[eax+09]:2,[eax+10]:2,[eax+11]:2,\
663
        [eax+06]:2,[eax+07]:2,[eax+08]:2,[eax+09]:2,[eax+10]:2,[eax+11]:2,\
664
        [eax+13]:2,[eax+12]:2
664
        [eax+13]:2,[eax+12]:2
Line 665... Line 665...
665
 
665
 
666
        cmp     dword [esp+8], MAX_ETH_FRAME_SIZE
666
        cmp     dword [esp+8], MAX_ETH_FRAME_SIZE
667
        jg      .fail
667
        ja      .fail
668
        cmp     dword [esp+8], 60
668
        cmp     dword [esp+8], 60
Line 669... Line 669...
669
        jl      .fail
669
        jb      .fail
670
 
670
 
671
; check if we own the current discriptor
671
; check if we own the current discriptor
672
        set_io  0
672
        set_io  0
Line 708... Line 708...
708
 
708
 
709
  .wait_to_send:
709
  .wait_to_send:
Line 710... Line 710...
710
        DEBUGF  1,"Waiting for timeout\n"
710
        DEBUGF  1,"Waiting for timeout\n"
711
 
711
 
712
        push    edx
712
        push    edx
713
        mov     esi, 300
713
        mov     esi, 30
Line 714... Line 714...
714
        stdcall Sleep
714
        stdcall Sleep
715
        pop     edx
715
        pop     edx
Line 829... Line 829...
829
  .nw:
829
  .nw:
830
        jz      .nd
830
        jz      .nd
831
        rep     movsd
831
        rep     movsd
832
  .nd:
832
  .nd:
Line 833... Line 833...
833
 
833
 
Line 834... Line 834...
834
        jmp     EthReceiver                         ; Send it to kernel
834
        jmp     Eth_input                           ; Send it to kernel
835
 
835
 
836
  .abort:
836
  .abort:
837
        pop     eax ebx
837
        pop     eax ebx