Serial driver doesn't handle FIFO error ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all .

I am working on serial communication protocol for an x86 industrial platform ,
namely Advantech PCM 5825 CPU board + PCM 3618 RS232/485  communication board.
Tried 2.4.33 and 2.6.18...20 kernels .

After investigating some incoming data corruption I noticed that
sometimes the status value that has been read from LSR  contains the
"FIFO error" bit set ( 0x80 ) . I did not find a code that handle this
condition , there is no even such bit mask defined in serial_reg.h .
BTW I have this bit set even if all other error bits in LSR are 0  (
frame error etc.) .
Is there any reason for not to handle the "FIFO error " bit ?
Or it is just because the situation is very rare ?

Any comments appreciated .
Thanks .
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux