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