Johannes Stezenbach wrote:
Some hardware supports generating an interrupt on a specific STC, and generally i think polling the STC from userspace is a bad idea.Proposal: I want to keep it simple. What I need is: struct dmx_stc { uint num; /* input: which STC? 0...n */ uint64_t stc; /* output */ }; #define DMX_GET_STC _IOWR('o', 50, struct dmx_stc)