forked from KolibriOS/kolibrios
set zero flag when transmit succeeded.
git-svn-id: svn://kolibrios.org@5127 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
68f4210d52
commit
1415fa22e9
@ -787,8 +787,8 @@ proc transmit stdcall bufferptr, buffersize
|
|||||||
add dword[ebx + device.bytes_tx], eax
|
add dword[ebx + device.bytes_tx], eax
|
||||||
adc dword[ebx + device.bytes_tx + 4], 0
|
adc dword[ebx + device.bytes_tx + 4], 0
|
||||||
|
|
||||||
xor eax, eax
|
|
||||||
popf
|
popf
|
||||||
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.wait_to_send:
|
.wait_to_send:
|
||||||
|
@ -686,8 +686,8 @@ proc transmit stdcall bufferptr, buffersize
|
|||||||
out dx, eax
|
out dx, eax
|
||||||
|
|
||||||
DEBUGF 1, "Packet Sent!\n"
|
DEBUGF 1, "Packet Sent!\n"
|
||||||
xor eax, eax
|
|
||||||
popf
|
popf
|
||||||
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.wait_to_send:
|
.wait_to_send:
|
||||||
|
@ -1873,8 +1873,8 @@ proc transmit stdcall bufferptr, buffersize
|
|||||||
add dword[ebx + device.bytes_tx], eax
|
add dword[ebx + device.bytes_tx], eax
|
||||||
adc dword[ebx + device.bytes_tx + 4], 0
|
adc dword[ebx + device.bytes_tx + 4], 0
|
||||||
|
|
||||||
xor eax, eax
|
|
||||||
popf
|
popf
|
||||||
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.fail:
|
.fail:
|
||||||
|
Loading…
Reference in New Issue
Block a user