kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Question regarding kernel?
@ 2019-11-15  7:40 Strahinja Mitrovic
  2019-11-16  9:35 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Strahinja Mitrovic @ 2019-11-15  7:40 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 616 bytes --]

Hi,
I'm a new subscriber, and i have a question regarding the uart driver and
kernel.
How does uart driver reset the counter of input serial line interrupts?

I'm currently using ioct with TIOCGICOUNT on linux for retrieving counts of
input serial line interrupts.

The counts are written to the serial_icounter_struct.

Most data fields are 32-bit integers.

What happens if a number of counts for a certain input line is greater then
32-bit integer value?

Does a system refresh counter on daily basis automatically?

Is there a way to reset a counter so that starts again from 0?
Best Regards,
Strahinja Mitrovic

[-- Attachment #1.2: Type: text/html, Size: 3670 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-16  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15  7:40 Question regarding kernel? Strahinja Mitrovic
2019-11-16  9:35 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).