From 0478f45357c2041bcc7895dbe45903a735224b9b Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 24 Feb 2012 22:04:04 +0000 Subject: [PATCH] Bugfix in PCnet32 driver for net branch git-svn-id: svn://kolibrios.org@2401 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/drivers/pcnet32.asm | 3 +++ 1 file changed, 3 insertions(+) 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 ;