Michael H. Schimek wrote: > Gerd Knorr wrote: > > > > A TUNER bit is still present, IMHO a _simple_ check to see whenever some > > tuner is present or not is useful. > > Just for the records, when is a simple check advantageous? Take some app which scans for TV stations. If a device has no tuner it can just abort. Having the driver set this flag is one or two lines of C code. Having the application check that by walking all inputs and look for tuners needs much more code. > > > * READ/WRITE/STREAMING - Actually I thought this was never in question > > > (unlike optional ioctls just returning -EINVAL). I always liked to > > > enable the appropriate i/o routines without much ado. What's the > > > alternative? > > > > read/write/streaming not being optional (but mandatory like select > > support)? > > I don't see a good reason why r/w and/or streaming must be mandatory. > Is there? Applications can depend on r/w streaming support being available? We can also make this optional, but I'd create a single flag for read/write then, another for streaming and maybe a third for async I/O ... Gerd -- You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20