/drivers/ethernet/pcnet32.asm |
---|
679,7 → 679,9 |
call [ebx + device.write_bcr] |
mov ecx, CSR_DMACTL |
; call [ebx + device.read_csr] |
call [ebx + device.read_csr] |
; and eax, 0xc00 |
; or eax, 0xc00 |
mov eax, 0xc00 |
call [ebx + device.write_csr] |
1088,7 → 1090,8 |
call [ebx + device.read_csr] ; get IRQ reason |
call [ebx + device.write_csr] ; write it back to ACK |
pop ecx |
test ax, CSR_RINT or CSR_TINT |
;;; and ax, CSR_RINT or CSR_TINT |
test ax, ax |
jnz .got_it |
.continue: |
add esi, 4 |