From 2e246fedfa0b061daaac8f2c60a3730f20b3ad4e Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 8 Dec 2013 14:17:53 +0000 Subject: [PATCH] Rhine ethernet driver: return success/failed for transmit function. git-svn-id: svn://kolibrios.org@4333 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/rhine.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ethernet/rhine.asm b/drivers/ethernet/rhine.asm index 6a716c2f3f..d4caa920c5 100644 --- a/drivers/ethernet/rhine.asm +++ b/drivers/ethernet/rhine.asm @@ -1456,11 +1456,12 @@ transmit: add dword [device.bytes_tx], ecx adc dword [device.bytes_tx + 4], 0 + xor eax, eax ; Transmit succesfull ret 8 .fail: DEBUGF 2, "Transmit Failed!\n" - + or eax, -1 ; Transmit failed ret 8