Re: [v4l-dvb-maintainer] [2.6 patch] VIDEO_V4L1 shouldn't be user-visible

From: Adrian Bunk
Date: Thu Jun 29 2006 - 17:08:04 EST


On Thu, Jun 29, 2006 at 05:18:37PM -0300, Mauro Carvalho Chehab wrote:

> Adrian,

Hi Mauro,

> Em Qui, 2006-06-29 às 21:21 +0200, Adrian Bunk escreveu:
> > VIDEO_V4L1 is an implementation detail that shouldn't be user-visible.
>
> Nack.
>
> V4L1 is an obsolete api, just like OSS, marked at
> feature-removal-schedule.txt to be removed on July (probably, we might
> need to postpone this, but this is another question).
>
> This API have serious trouble on handling video and audio standards used
> on analog world and should be discontinued in favor of V4L2 API. Like
> ALSA have, V4L2 drivers also have a compatibility driver that changes
> calls from legacy userspace applications into newer V4L2 calls (of
> course losing several features, working fine only for a few video
> standards that were supported by V4L1).

I might not understand the issue well enough for getting your point.

My point is:

For users (= people compiling their own kernel), the obsolete in-kernel
API is an implementation detail.

When configuring the kernel, the important thing for users is to find
the driver for their hardware, not which internal APIs the driver is
using.

The userspace visible part VIDEO_V4L1_COMPAT is something different,
and it shouldn't be hidden.

> Cheers,
> Mauro.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/