forked from KolibriOS/kolibrios
that would be too verbose
git-svn-id: svn://kolibrios.org@3522 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6afe2660c8
commit
4aaa9b7e36
@ -520,7 +520,6 @@ end if
|
|||||||
call delay_ms
|
call delay_ms
|
||||||
pop esi
|
pop esi
|
||||||
@@:
|
@@:
|
||||||
DEBUGF 1,'K : EHCI %x: command = %x, status = %x\n',esi,[edi+EhciCommandReg],[edi+EhciStatusReg]
|
|
||||||
; 9. Return pointer to usb_controller.
|
; 9. Return pointer to usb_controller.
|
||||||
xchg eax, esi
|
xchg eax, esi
|
||||||
ret
|
ret
|
||||||
@ -739,7 +738,6 @@ end virtual
|
|||||||
mov edi, [esi+ehci_controller.MMIOBase2-sizeof.ehci_controller]
|
mov edi, [esi+ehci_controller.MMIOBase2-sizeof.ehci_controller]
|
||||||
spin_lock_irqsave [esi+usb_controller.WaitSpinlock]
|
spin_lock_irqsave [esi+usb_controller.WaitSpinlock]
|
||||||
mov eax, [edi+EhciStatusReg]
|
mov eax, [edi+EhciStatusReg]
|
||||||
mov ecx, eax
|
|
||||||
; DEBUGF 1,'K : [%d] EHCI status %x\n',[timer_ticks],eax
|
; DEBUGF 1,'K : [%d] EHCI status %x\n',[timer_ticks],eax
|
||||||
; 3. Check whether that interrupt has been generated by our controller.
|
; 3. Check whether that interrupt has been generated by our controller.
|
||||||
; (One IRQ can be shared by several devices.)
|
; (One IRQ can be shared by several devices.)
|
||||||
@ -750,7 +748,6 @@ end virtual
|
|||||||
; new events could arise while we are processing those, this way we won't lose
|
; new events could arise while we are processing those, this way we won't lose
|
||||||
; them (the controller would generate another interrupt after completion
|
; them (the controller would generate another interrupt after completion
|
||||||
; of this one).
|
; of this one).
|
||||||
DEBUGF 1,'K : EHCI %x interrupt: status = %x, enable = %x\n',esi,ecx,[edi+EhciInterruptReg]
|
|
||||||
; DEBUGF 1,'K : EHCI interrupt: status = %x\n',eax
|
; DEBUGF 1,'K : EHCI interrupt: status = %x\n',eax
|
||||||
mov [edi+EhciStatusReg], eax
|
mov [edi+EhciStatusReg], eax
|
||||||
; 5. Sanity check.
|
; 5. Sanity check.
|
||||||
|
Loading…
Reference in New Issue
Block a user