Bugfix in dec21x4x driver

git-svn-id: svn://kolibrios.org@3639 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-06-10 21:06:36 +00:00
parent 9246337d85
commit 2e79963e19

View File

@ -675,7 +675,7 @@ reset:
call start_link call start_link
; wait a bit ; wait a bit
mov esi, 3000 mov esi, 500
call Sleep call Sleep
;---------------------------------------------------- ;----------------------------------------------------
@ -783,6 +783,8 @@ init_ring:
align 4 align 4
start_link: start_link:
DEBUGF 1,"Starting link\n"
; TODO: write working code here ; TODO: write working code here
ret ret
@ -1037,10 +1039,10 @@ int_handler:
set_io 0 set_io 0
set_io CSR5 set_io CSR5
in eax, dx in ax, dx
test eax, eax test ax, ax
out dx, ax ; send it back to ACK
jnz .got_it jnz .got_it
out dx, eax ; send it back to ACK
.continue: .continue:
add esi, 4 add esi, 4
dec ecx dec ecx