[media] radio-isa: add framework for ISA radio drivers
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 3 Feb 2012 11:28:56 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Feb 2012 19:01:13 +0000 (17:01 -0200)
commit137c579c12bbb47ac1822e1a959aa15d0fcb76c1
tree9b2ab60f813734ebf31126eda3bf60466573310a
parent83ec8225b6aecfddafd3b1d40cf79c0d4615a84c
[media] radio-isa: add framework for ISA radio drivers

We have quite a few ISA radio drivers, which are all very similar.

This framework makes it possible to reduce the code size of those drivers
and makes it much easier to keep them up to date with the latest V4L2 API
developments.

Drivers rewritten to use this framework fully pass the v4l2-compliance tests
and are properly using the ISA bus (so they can be found under /sys/bus/isa).

It is now also possible to support multiple cards using the same driver
(tested with two radio-gemtek cards).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/Kconfig
drivers/media/radio/Makefile
drivers/media/radio/radio-isa.c [new file with mode: 0644]
drivers/media/radio/radio-isa.h [new file with mode: 0644]