forked from KolibriOS/kolibrios
i8254x driver: Corrected return flags for transmit procedure.
git-svn-id: svn://kolibrios.org@4521 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
730070df44
commit
6471aac71c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user