linux_dsm_epyc7002/drivers/media/common
Trent Piepho 8ae1fe2a09 V4L/DVB (6508): ttpci: Rework Kconfig menus and Makefile
The ttpci Kconfig file has bugs that cause it to fail in certain Kconfig
situations.  The basic problem is that it selects certain drivers, but does
not depend on the dependencies of those drivers.

See http://article.gmane.org/gmane.comp.video.video4linux/35072

Using the Kconfig file also has some annoyances.  For instance one can't turn
off AV7110 support unless you go down several options and first turn off
budget-patch support.  Normally user selectable drivers are not forced on like
this.

The "AV7110 cards with Budget Patch" option is disabled if "Budget cards"
isn't on.  Normally a driver appears nested under a driver it depends on, but
since drivers that don't depend on "Budget cards" are between the two options,
the config programs can't display the tree correctly.

The Makefile has an issue too.  Some modules, ttpci-eeprom and budget-core,
appear in the Makefile under several different config symbols.  If more than
one of these symbols is on, they will get added the to list of objects
multiple times.  The normal convention is to have a config symbol just the
common object(s) and have the users of the that object either depend on or
select that config symbol.

This patch fixes all these issues.  ttpci-eepom is under a new config symbol,
and so is the budget-core module.  The four different budget card types appear
as sub-drivers under a main "SAA7146 DVB cards" option.  Turning on
budget-patch doesn't force AV7110.  Drivers using SAA7146_VV have the
necessary VIDEO_DEV dependency, so that it isn't possible to select SAA7146_VV
without V4L being on.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-25 19:01:53 -02:00
..
ir-functions.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
ir-keymaps.c V4L/DVB (6379): patch which improves GotView Saa7135 remote control 2007-10-22 12:01:52 -02:00
Kconfig V4L/DVB (6508): ttpci: Rework Kconfig menus and Makefile 2008-01-25 19:01:53 -02:00
Makefile V4L/DVB (3770): Kill drivers/media/common/saa7146_vv_ksyms.c 2006-06-25 01:58:02 -03:00
saa7146_core.c V4L/DVB (6495): saa7146: saa7146_wait_for_debi_done fixes 2007-11-04 21:41:23 -02:00
saa7146_fops.c V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
saa7146_hlp.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
saa7146_i2c.c V4L/DVB (5987): saa7146: clean-up irq processing 2007-10-09 22:04:44 -03:00
saa7146_vbi.c V4L/DVB (6252): Adapt drivers to use the newer videobuf modules 2007-10-09 22:14:55 -03:00
saa7146_video.c V4L/DVB (6615): V4L: Fix VIDIOCGMBUF locking in saa7146 2007-12-11 18:08:12 -02:00