Subversion Repositories Kolibri OS

Rev

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

Rev 3656 Rev 3707
Line 1560... Line 1560...
1560
; Advance the transfer queue to the next descriptor.
1560
; Advance the transfer queue to the next descriptor.
1561
        mov     ecx, [ebx+usb_gtd.Pipe]
1561
        mov     ecx, [ebx+usb_gtd.Pipe]
1562
        mov     edx, [ecx+ohci_pipe.HeadP-sizeof.ohci_pipe]
1562
        mov     edx, [ecx+ohci_pipe.HeadP-sizeof.ohci_pipe]
1563
        and     edx, 2  ; keep toggleCarry bit
1563
        and     edx, 2  ; keep toggleCarry bit
1564
        cmp     [ecx+usb_pipe.Type], CONTROL_PIPE
1564
        cmp     [ecx+usb_pipe.Type], CONTROL_PIPE
1565
        jnz     @f
1565
        jz      @f
1566
        inc     edx     ; set Halted bit
1566
        inc     edx     ; set Halted bit
1567
@@:
1567
@@:
1568
        jmp     .advance_queue
1568
        jmp     .advance_queue
1569
endp
1569
endp