remarkable-linux/include/media
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
..
audiochip.h V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
cs53l32a.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
cx25840.h V4L/DVB (3610): Added the new routing commands to cx25840. 2006-04-02 04:55:01 -03:00
i2c-addr.h V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo 2006-03-24 16:26:51 -03:00
ir-common.h V4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR. 2006-01-23 09:44:10 -02:00
ir-kbd-i2c.h
msp3400.h V4L/DVB (3702): Make msp3400 routing defines more consistent 2006-04-02 04:56:11 -03:00
ovcamchip.h
rds.h V4L/DVB (3546): Fix Compilation after moving bttv code 2006-03-24 16:26:51 -03:00
saa6752hs.h
saa7115.h V4L/DVB (3711): Add support for VIDIOC_INT_S_CRYSTAL_FREQ internal command. 2006-06-25 01:57:36 -03:00
saa7127.h V4L/DVB (3608): Implement new routing commands in saa7127.c 2006-04-02 04:54:56 -03:00
saa7146.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
saa7146_vv.h V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
tuner-types.h V4L/DVB (3265): Add count to tunertype struct 2006-02-06 09:15:11 -02:00
tuner.h V4L/DVB (3445): LG TALN series: add PAL / SECAM support 2006-03-21 08:53:10 -08:00
tvaudio.h V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
tveeprom.h [PATCH] V4L: Add workaround for Hauppauge PVR150 with certain NTSC tuner models 2005-12-01 15:48:58 -08:00
tvp5150.h V4L/DVB (3712): Fix video input setting of em28xx, use _INT_S_VIDEO_ROUTING in tvp5150 2006-06-25 01:57:38 -03:00
upd64031a.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
upd64083.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
v4l2-common.h V4L/DVB (3711): Add support for VIDIOC_INT_S_CRYSTAL_FREQ internal command. 2006-06-25 01:57:36 -03:00
video-buf-dvb.h V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
video-buf.h V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
wm8775.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00