diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-30 18:42:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-30 18:42:08 -0300 |
commit | 210a50f4db4701102f795d84538134a3c9b30230 (patch) | |
tree | d81bab31d9ab885e9a34e45ae59ec17e15125c00 /linux/drivers/media/radio/Kconfig | |
parent | 3982840ac7429ef8e8e5f3deb2443e6a81e14588 (diff) | |
download | mediapointer-dvb-s2-210a50f4db4701102f795d84538134a3c9b30230.tar.gz mediapointer-dvb-s2-210a50f4db4701102f795d84538134a3c9b30230.tar.bz2 |
Convert radio-cadet to V4L2 API
From: Hans J. Koch <koch@hjk-az.de>
This is a card with RDS capabilities.
RDS specifications didn't change from V4L1 to V4L2, so that part should be OK.
This patch changed the following stuff:
* The device can be opened multiple times. That's necessary because there are
at least a radio application and an RDS application (rdsd) that want to
open() the device.
* Added a poll() function. Every character device should have that, and rdsd
expects it as it uses select() on that file descriptor.
* Converted the ioctls to V4L2. MUTE is not implemented correctly as the
card doesn't seem to have a special bit for that. Probably there are a few
more ioctls that should at least return 0 or an error.
As I do not own such a card, I couldn't test anything. If there is anybody out
there who owns such an ancient card, please test and report.
I just checked that the code compiles.
Signed-off-by: Hans J. Koch <koch@hjk-az.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/radio/Kconfig')
-rw-r--r-- | linux/drivers/media/radio/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/Kconfig b/linux/drivers/media/radio/Kconfig index f43f5a21a..525c9b651 100644 --- a/linux/drivers/media/radio/Kconfig +++ b/linux/drivers/media/radio/Kconfig @@ -7,7 +7,7 @@ menu "Radio Adapters" config RADIO_CADET tristate "ADS Cadet AM/FM Tuner" - depends on ISA && VIDEO_V4L1 + depends on ISA && VIDEO_V4L2 ---help--- Choose Y here if you have one of these AM/FM radio cards, and then fill in the port address below. |