aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc5000.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@kernellabs.com>2012-02-08 12:57:39 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 14:22:32 -0500
commit6fab81dfdc7b48c2e30ab05e9b30afb0c418bbbe (patch)
tree631b431735204d07bd2d683be8a1e6c2f8de3129 /drivers/media/common/tuners/xc5000.h
parentddea427fb3e64d817d4432e5efd2abbfc4ddb02e (diff)
[media] xc5000: drivers should specify chip revision rather than firmware
Specify chip revision at attach time rather than a firmware image. This is a better way to ensure that the correct firmware is loaded for the correct revision of the chip. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/xc5000.h')
-rw-r--r--drivers/media/common/tuners/xc5000.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/media/common/tuners/xc5000.h b/drivers/media/common/tuners/xc5000.h
index c003af5322a0..3396f8e02b40 100644
--- a/drivers/media/common/tuners/xc5000.h
+++ b/drivers/media/common/tuners/xc5000.h
@@ -27,18 +27,15 @@
27struct dvb_frontend; 27struct dvb_frontend;
28struct i2c_adapter; 28struct i2c_adapter;
29 29
30#define XC5000_FW_A_1_6_114 1 30#define XC5000A 1
31#define XC5000_FW_C_41_024_5_31875 2 31#define XC5000C 2
32
33#define XC5000_DEFAULT_FIRMWARE XC5000_FW_A_1_6_114
34#define XC5000C_DEFAULT_FIRMWARE XC5000_FW_C_41_024_5_31875
35 32
36struct xc5000_config { 33struct xc5000_config {
37 u8 i2c_address; 34 u8 i2c_address;
38 u32 if_khz; 35 u32 if_khz;
39 u8 radio_input; 36 u8 radio_input;
40 37
41 int fw; 38 int chip_id;
42}; 39};
43 40
44/* xc5000 callback command */ 41/* xc5000 callback command */