From 6471aac71c15073aae74923bf20c229d09f2c212 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 23 Jan 2014 15:01:01 +0000 Subject: [PATCH] i8254x driver: Corrected return flags for transmit procedure. git-svn-id: svn://kolibrios.org@4521 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/i8254x.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ethernet/i8254x.asm b/drivers/ethernet/i8254x.asm index cfcbcce7bb..476c551fea 100644 --- a/drivers/ethernet/i8254x.asm +++ b/drivers/ethernet/i8254x.asm @@ -754,15 +754,15 @@ proc transmit stdcall bufferptr, buffersize add dword[device.bytes_tx], eax adc dword[device.bytes_tx + 4], 0 - xor eax, eax popf + xor eax, eax ret .fail: DEBUGF 2,"Send failed\n" stdcall KernelFree, [bufferptr] - or eax, -1 popf + or eax, -1 ret endp