summaryrefslogtreecommitdiff
path: root/v4l_experimental/tda8290/tda8290_tuner.patch
blob: 5d08c485ed99f6928e53e36f786a0249c1a6f66c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -up v4l-kernel/linux/include/media/tuner.h v4l-kernel/linux/include/media/tuner.h.new
--- v4l-kernel/linux/include/media/tuner.h	2005-10-11 00:23:08.000000000 +0200
+++ v4l-kernel/linux/include/media/tuner.h.new	2005-10-11 00:21:58.000000000 +0200
@@ -192,9 +192,11 @@ struct tuner {
 	unsigned int radio_if2;
 
 	/* used by tda8290 */
-	unsigned char i2c_easy_mode[2];
-	unsigned char i2c_set_freq[8];
-	unsigned int  sgIF;
+	unsigned char tda8290_easy_mode;
+	unsigned char tda827x_lpsel;
+	unsigned char tda827x_addr;
+	unsigned char tda827x_ver;
+	unsigned int sgIF;
 
 	/* function ptrs */
 	void (*tv_freq)(struct i2c_client *c, unsigned int freq);
diff -up v4l-kernel/linux/drivers/media/video/tuner-core.c v4l-kernel/linux/drivers/media/video/tuner-core.c.new
--- v4l-kernel/linux/drivers/media/video/tuner-core.c      2005-09-13 22:11:39.000000000 +0200
+++ v4l-kernel/linux/drivers/media/video/tuner-core.c.new  2005-10-11 00:13:16.000000000 +0200
@@ -30,7 +30,7 @@
 
 /* standard i2c insmod options */
 static unsigned short normal_i2c[] = {
-	0x4b,			/* tda8290 */
+	0x42, 0x43, 0x4a, 0x4b,			/* tda8290 */
 	0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
 	0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
 	I2C_CLIENT_END