diff --git a/kernel/branches/net/drivers/pcnet32.asm b/kernel/branches/net/drivers/pcnet32.asm index 98e9b3d57b..302eb1080a 100644 --- a/kernel/branches/net/drivers/pcnet32.asm +++ b/kernel/branches/net/drivers/pcnet32.asm @@ -1061,7 +1061,9 @@ int_handler: test ax, PCNET_CSR_RINT jz @f + push ebx .receiver_test_loop: + pop ebx movzx eax, [device.cur_rx] ; and eax, PCNET_RX_RING_MOD_MASK mov edi, eax @@ -1093,6 +1095,7 @@ int_handler: test eax, eax ; Test if we allocated succesfully jz .abort ; + push ebx push .receiver_test_loop ; push ecx ; for eth_receiver push eax ;