diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-03-14 17:02:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 11:53:33 -0500 |
commit | ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f (patch) | |
tree | 71e22f12307169af9a5ad96a51766b38736f3953 /drivers/media/video/saa7134/saa7134.h | |
parent | 67ac9a40f90db57b09f7d98f72d8d0344acefbac (diff) |
V4L/DVB (3504): Medion 7134: Autodetect second bridge chip
The device, Medion 7134, has two saa7134 chips on it, but only one of them
is functional in the current saa7134 driver.
This patch adds autodetection for the second, unsupported saa7134 chip,
as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user
(in dmesg) indicating that the second chip isn't yet functional.
This is useful for users, since two instances of the saa7134 driver
will spawn. This patch will prevent confusion by warning the user that
only one of the chips on the board are functional.
There are other versions of the SAA7134_BOARD_MD7134 with only a single
saa7134 bridge/decoder -- those devices will not be affected by this patch.
Only devices containing the second chip will display the warning.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 7d04ed330ec3..683e785c18bd 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -220,6 +220,7 @@ struct saa7134_format { | |||
220 | #define SAA7134_BOARD_KWORLD_ATSC110 90 | 220 | #define SAA7134_BOARD_KWORLD_ATSC110 90 |
221 | #define SAA7134_BOARD_AVERMEDIA_A169_B 91 | 221 | #define SAA7134_BOARD_AVERMEDIA_A169_B 91 |
222 | #define SAA7134_BOARD_AVERMEDIA_A169_B1 92 | 222 | #define SAA7134_BOARD_AVERMEDIA_A169_B1 92 |
223 | #define SAA7134_BOARD_MD7134_BRIDGE_2 93 | ||
223 | 224 | ||
224 | #define SAA7134_MAXBOARDS 8 | 225 | #define SAA7134_MAXBOARDS 8 |
225 | #define SAA7134_INPUT_MAX 8 | 226 | #define SAA7134_INPUT_MAX 8 |