From 1415fa22e971043d49ee2b90a18fbc5516bf561d Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 15 Sep 2014 11:28:35 +0000 Subject: [PATCH] set zero flag when transmit succeeded. git-svn-id: svn://kolibrios.org@5127 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/R6040.asm | 2 +- drivers/ethernet/RTL8139.asm | 2 +- drivers/ethernet/forcedeth.asm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ethernet/R6040.asm b/drivers/ethernet/R6040.asm index d3acd14cae..b42cfcd6b6 100644 --- a/drivers/ethernet/R6040.asm +++ b/drivers/ethernet/R6040.asm @@ -787,8 +787,8 @@ proc transmit stdcall bufferptr, buffersize add dword[ebx + device.bytes_tx], eax adc dword[ebx + device.bytes_tx + 4], 0 - xor eax, eax popf + xor eax, eax ret .wait_to_send: diff --git a/drivers/ethernet/RTL8139.asm b/drivers/ethernet/RTL8139.asm index 467d132d2b..4d1a5f4257 100644 --- a/drivers/ethernet/RTL8139.asm +++ b/drivers/ethernet/RTL8139.asm @@ -686,8 +686,8 @@ proc transmit stdcall bufferptr, buffersize out dx, eax DEBUGF 1, "Packet Sent!\n" - xor eax, eax popf + xor eax, eax ret .wait_to_send: diff --git a/drivers/ethernet/forcedeth.asm b/drivers/ethernet/forcedeth.asm index 4dfc8f2694..5f0d277b3b 100644 --- a/drivers/ethernet/forcedeth.asm +++ b/drivers/ethernet/forcedeth.asm @@ -1873,8 +1873,8 @@ proc transmit stdcall bufferptr, buffersize add dword[ebx + device.bytes_tx], eax adc dword[ebx + device.bytes_tx + 4], 0 - xor eax, eax popf + xor eax, eax ret .fail: