Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4576 → Rev 4577

/drivers/usb/ehci.asm
1569,13 → 1569,13
and dword [esi+ehci_controller.DeferredActions-sizeof.ehci_controller], not 20h
dbgstr 'warning: async advance int missed'
mov [esi+usb_controller.ReadyPipeHeadAsync], eax
jmp .async_unlock
spin_unlock_irq [esi+usb_controller.WaitSpinlock]
jmp .noasync
@@:
spin_unlock_irq [esi+usb_controller.WaitSpinlock]
cmp dword [esp], 100
jb .async_unlock
jb .noasync
mov dword [esp], 100
.async_unlock:
spin_unlock_irq [esi+usb_controller.WaitSpinlock]
.noasync:
; 7. Finalize transfers processed by hardware.
; It is better to perform this step after step 4 (disconnect events),