Re: [PATCH RFC 0/2] next round for an uart led trigger

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

 



Hi Uwe,

> this is the next round of a led trigger for an UART. Instead of adding
> callbacks to serial_core I took an approach similar to the netdev
> trigger: A work thread checks the statistics of the device and if
> something happened since the last round the LED is flashed.
> 
> This is an early prototype that has broken locking. Also in the long run
> I want to add some "filters" to the trigger for example to trigger only
> on RX or TX.
> 
> Do you (also) think this is a better approach then in the former
> discussions?

would it be simpler to integrate a LED trigger into serdev instead of trying to do it on the UART level. You might not be able to catch all UARTs, but for the ones that have a serdev driver running on top of it, you would.

Regards

Marcel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux