linux/drivers/media/dvb/ttpci
Andrew de Quincey d09dbf92ad V4L/DVB (3762): Add sysfs device links to dvb devices
Currently in /sys/class/dvb/dvbX.demuxY/ we have:
	dev
	uevent
With the patch, we have (for a PCI DVB device):
	dev
	device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0
	uevent
So userspace tools can (finally) work out which physical device a DVB adapter
refers to. Previously you had to kinda look through dmesg and hope that it
hadn't been dumped out of the buffer. This makes debugging a lot easier if
the system has been up for a long time!
This is done by adding an extra 'struct device *' parameter to
dvb_register_adapter(). It will work with any kind of standard
linux 'device'. Additionally, if someone has an embedded system which does
things differently, they can simply supply 'NULL' and the behaviour will be
as before - the link will simply not appear.

Ack'd-by: Manu Abraham <manu@linuxtv.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-25 01:57:55 -03:00
..
av7110.c V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
av7110.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
av7110_av.c V4L/DVB (3671): New module parameter 'tv_standard' (dvb-ttpci driver) 2006-04-02 04:55:59 -03:00
av7110_av.h [PATCH] dvb: ttpci: more error handling for firmware communication 2005-07-07 18:23:58 -07:00
av7110_ca.c [PATCH] DVB: Small cleanups and CodeStyle fixes 2005-12-01 15:48:59 -08:00
av7110_ca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
av7110_hw.c V4L/DVB (3403): Workaround to fix initialization for Nexus CA 2006-03-08 11:35:50 -03:00
av7110_hw.h V4L/DVB (3381): Fix compilation with Alpha 2006-01-15 09:04:04 -02: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 V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver 2006-02-27 00:09:20 -03:00
av7110_v4l.c V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode 2006-03-24 16:26:58 -03:00
budget-av.c V4L/DVB (3740): Fix oops in budget-av with CI 2006-05-12 19:54:43 -03:00
budget-ci.c V4L/DVB (3726): Fix TT budget-ci 1.1 CI slots 2006-05-12 19:54:38 -03:00
budget-core.c V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
budget-patch.c V4L/DVB (3669): Configurable dma buffer size for saa7146-based budget dvb cards 2006-04-02 04:55:57 -03:00
budget.c V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. 2006-03-21 08:53:54 -08:00
budget.h V4L/DVB (3669): Configurable dma buffer size for saa7146-based budget dvb cards 2006-04-02 04:55:57 -03:00
fdump.c [PATCH] V4L/DVB: (3086a) Whitespaces cleanups part 1 2005-12-12 08:57:44 -08:00
Kconfig V4L/DVB (4037): Make the bridge devices that depend on I2C dependant on I2C 2006-05-23 15:56:38 -03:00
Makefile V4L/DVB (3218): Whitespace cleanups 2006-01-09 15:25:34 -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