mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
Rhine ethernet driver: return success/failed for transmit function.
git-svn-id: svn://kolibrios.org@4333 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
41b579f8ac
commit
2e246fedfa
@ -1456,11 +1456,12 @@ transmit:
|
|||||||
add dword [device.bytes_tx], ecx
|
add dword [device.bytes_tx], ecx
|
||||||
adc dword [device.bytes_tx + 4], 0
|
adc dword [device.bytes_tx + 4], 0
|
||||||
|
|
||||||
|
xor eax, eax ; Transmit succesfull
|
||||||
ret 8
|
ret 8
|
||||||
|
|
||||||
.fail:
|
.fail:
|
||||||
DEBUGF 2, "Transmit Failed!\n"
|
DEBUGF 2, "Transmit Failed!\n"
|
||||||
|
or eax, -1 ; Transmit failed
|
||||||
ret 8
|
ret 8
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user