diff --git a/drivers/ethernet/R6040.asm b/drivers/ethernet/R6040.asm index d3acd14ca..b42cfcd6b 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 467d132d2..4d1a5f425 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 4dfc8f269..5f0d277b3 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: