> C is not my native language, but that test I think says, if aLSR is
> nonzero and 0x40 is nonzero break.  If you want to see if aLSR has bit 6
> set (bit numbering is strange on little-endian machines, I have to think
> of it as the 2**6 bit - oops, pardon the fortran) you say
> 
>     if (aLSR&0x40) break;
> 

You're right. Since my code worked, I didn't realize this fidgety fault.
And I couldn't imagine that someone would return a _flag_ for specific thing
in a routine called 'get_lsr_info'.

>>
>> Btw, on my system it tooks around 9 ms (3 loops) 'til TSR is empty.
> This
>> sounds rather long? Why doesn't get_lsr_info return the LSR? Too easy?
>>
> Too easy.  From the comments, that bit was done for a specific need
> rather than to be useful to you and me :-)

Has to be changed :-)

    Michael




-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to