Subversion Repositories Kolibri OS

Rev

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

Rev 3545 Rev 3639
Line 673... Line 673...
673
        status
673
        status
Line 674... Line 674...
674
 
674
 
Line 675... Line 675...
675
        call    start_link
675
        call    start_link
676
 
676
 
677
; wait a bit
677
; wait a bit
Line 678... Line 678...
678
        mov     esi, 3000
678
        mov     esi, 500
679
        call    Sleep
679
        call    Sleep
Line 781... Line 781...
781
 
781
 
782
 
782
 
Line -... Line 783...
-
 
783
align 4
-
 
784
start_link:
783
align 4
785
 
Line 784... Line 786...
784
start_link:
786
        DEBUGF  1,"Starting link\n"
Line 785... Line 787...
785
 
787
 
Line 1035... Line 1037...
1035
  .nextdevice:
1037
  .nextdevice:
1036
        mov     ebx, [esi]
1038
        mov     ebx, [esi]
Line 1037... Line 1039...
1037
 
1039
 
1038
        set_io  0
1040
        set_io  0
1039
        set_io  CSR5
1041
        set_io  CSR5
1040
        in      eax, dx
1042
        in      ax, dx
-
 
1043
        test    ax, ax
1041
        test    eax, eax
1044
        out     dx, ax                                  ; send it back to ACK
1042
        jnz     .got_it
-
 
1043
        out     dx, eax                                 ; send it back to ACK
1045
        jnz     .got_it
1044
  .continue:
1046
  .continue:
1045
        add     esi, 4
1047
        add     esi, 4
1046
        dec     ecx
1048
        dec     ecx
1047
        jnz     .nextdevice
1049
        jnz     .nextdevice