android_kernel_motorola_sm6225/drivers/media/dvb/ttpci
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
..
av7110.c V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110.h V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110_av.c V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110_av.h V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110_ca.c V4L/DVB (5835): saa7146/dvb-ttpci: Fix signedness warnings (gcc 4.1.1, kernel 2.6.22) 2007-07-18 14:24:44 -03:00
av7110_ca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
av7110_hw.c V4L/DVB (6125): whitespace cleanup: replace leading spaces with tabs 2007-10-09 22:07:29 -03:00
av7110_hw.h V4L/DVB (5835): saa7146/dvb-ttpci: Fix signedness warnings (gcc 4.1.1, kernel 2.6.22) 2007-07-18 14:24:44 -03:00
av7110_ipack.c [PATCH] dvb: ttpci: kj printk fix 2005-07-07 18:23:58 -07:00
av7110_ipack.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
av7110_ir.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
av7110_v4l.c V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
budget-av.c V4L/DVB (5941): Ttpci/budget-av.c: ARRAY_SIZE() 2007-10-09 22:03:33 -03:00
budget-ci.c V4L/DVB (6221): budget-ci: select TT keymap for DVB-S TT 1500 2007-10-09 22:14:40 -03:00
budget-core.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
budget-patch.c Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
budget.c V4L/DVB (4916): Av7110,budget,budget-ci,budget-av: Use interrupt mode for I2C transfers 2006-12-10 09:05:35 -02:00
budget.h V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
fdump.c [PATCH] V4L/DVB: (3086a) Whitespaces cleanups part 1 2005-12-12 08:57:44 -08:00
Kconfig V4L/DVB (6508): ttpci: Rework Kconfig menus and Makefile 2008-01-25 19:01:53 -02:00
Makefile V4L/DVB (6508): ttpci: Rework Kconfig menus and Makefile 2008-01-25 19:01:53 -02:00
ttpci-eeprom.c V4L/DVB (3218): Whitespace cleanups 2006-01-09 15:25:34 -02:00
ttpci-eeprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00