forked from KolibriOS/kolibrios
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
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user