Bugfix in PCnet32 driver for net branch
git-svn-id: svn://kolibrios.org@2401 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
8c4037718d
commit
0478f45357
@ -1061,7 +1061,9 @@ int_handler:
|
|||||||
test ax, PCNET_CSR_RINT
|
test ax, PCNET_CSR_RINT
|
||||||
jz @f
|
jz @f
|
||||||
|
|
||||||
|
push ebx
|
||||||
.receiver_test_loop:
|
.receiver_test_loop:
|
||||||
|
pop ebx
|
||||||
movzx eax, [device.cur_rx]
|
movzx eax, [device.cur_rx]
|
||||||
; and eax, PCNET_RX_RING_MOD_MASK
|
; and eax, PCNET_RX_RING_MOD_MASK
|
||||||
mov edi, eax
|
mov edi, eax
|
||||||
@ -1093,6 +1095,7 @@ int_handler:
|
|||||||
test eax, eax ; Test if we allocated succesfully
|
test eax, eax ; Test if we allocated succesfully
|
||||||
jz .abort ;
|
jz .abort ;
|
||||||
|
|
||||||
|
push ebx
|
||||||
push .receiver_test_loop ;
|
push .receiver_test_loop ;
|
||||||
push ecx ; for eth_receiver
|
push ecx ; for eth_receiver
|
||||||
push eax ;
|
push eax ;
|
||||||
|
Loading…
Reference in New Issue
Block a user