summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-09-14 23:13:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-14 23:13:53 -0300
commit54a9eee8f42b9f31da21b13a6b64d0679df0aed0 (patch)
treebfd03cdc07b36db698d4f7364409faa554834ce8 /linux
parent49decf8c441358a1b36395f2d18eae6edc14dd6b (diff)
downloadmediapointer-dvb-s2-54a9eee8f42b9f31da21b13a6b64d0679df0aed0.tar.gz
mediapointer-dvb-s2-54a9eee8f42b9f31da21b13a6b64d0679df0aed0.tar.bz2
tm6000: i2c addresses should now be specified in 7bit formats
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-cards.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-cards.c b/linux/drivers/staging/tm6000/tm6000-cards.c
index f6aafaf55..7b52b403a 100644
--- a/linux/drivers/staging/tm6000/tm6000-cards.c
+++ b/linux/drivers/staging/tm6000/tm6000-cards.c
@@ -91,7 +91,7 @@ struct tm6000_board tm6000_boards[] = {
.name = "Generic tm5600 board",
.type = TM5600,
.tuner_type = TUNER_XC2028,
- .tuner_addr = 0xc2,
+ .tuner_addr = 0xc2 >> 1,
.caps = {
.has_tuner = 1,
},
@@ -100,7 +100,7 @@ struct tm6000_board tm6000_boards[] = {
[TM6000_BOARD_GENERIC] = {
.name = "Generic tm6000 board",
.tuner_type = TUNER_XC2028,
- .tuner_addr = 0xc2,
+ .tuner_addr = 0xc2 >> 1,
.caps = {
.has_tuner = 1,
.has_dvb = 1,
@@ -111,7 +111,7 @@ struct tm6000_board tm6000_boards[] = {
.name = "Generic tm6010 board",
.type = TM6010,
.tuner_type = TUNER_XC2028,
- .tuner_addr = 0xc2,
+ .tuner_addr = 0xc2 >> 1,
.caps = {
.has_tuner = 1,
.has_dvb = 1,
@@ -122,7 +122,7 @@ struct tm6000_board tm6000_boards[] = {
.name = "10Moons UT 821",
.tuner_type = TUNER_XC2028,
.type = TM5600,
- .tuner_addr = 0xc2,
+ .tuner_addr = 0xc2 >> 1,
.caps = {
.has_tuner = 1,
.has_eeprom = 1,
@@ -132,7 +132,7 @@ struct tm6000_board tm6000_boards[] = {
[TM5600_BOARD_10MOONS_UT330] = {
.name = "10Moons UT 330",
.tuner_type = TUNER_PHILIPS_FQ1216AME_MK4,
- .tuner_addr = 0xc8,
+ .tuner_addr = 0xc8 >> 1,
.caps = {
.has_tuner = 1,
.has_dvb = 0,
@@ -143,7 +143,7 @@ struct tm6000_board tm6000_boards[] = {
[TM6000_BOARD_ADSTECH_DUAL_TV] = {
.name = "ADSTECH Dual TV USB",
.tuner_type = TUNER_XC2028,
- .tuner_addr = 0xc8,
+ .tuner_addr = 0xc8 >> 1,
.caps = {
.has_tuner = 1,
.has_tda9874 = 1,
@@ -155,8 +155,8 @@ struct tm6000_board tm6000_boards[] = {
[TM6000_BOARD_FREECOM_AND_SIMILAR] = {
.name = "Freecom Hybrid Stick / Moka DVB-T Receiver Dual",
.tuner_type = TUNER_XC2028, /* has a XC3028 */
- .tuner_addr = 0xc2,
- .demod_addr = 0x1e,
+ .tuner_addr = 0xc2 >> 1,
+ .demod_addr = 0x1e >> 1,
.caps = {
.has_tuner = 1,
.has_dvb = 1,
@@ -169,8 +169,8 @@ struct tm6000_board tm6000_boards[] = {
[TM6000_BOARD_ADSTECH_MINI_DUAL_TV] = {
.name = "ADSTECH Mini Dual TV USB",
.tuner_type = TUNER_XC2028, /* has a XC3028 */
- .tuner_addr = 0xc8,
- .demod_addr = 0x1e,
+ .tuner_addr = 0xc8 >> 1,
+ .demod_addr = 0x1e >> 1,
.caps = {
.has_tuner = 1,
.has_dvb = 1,
@@ -182,8 +182,8 @@ struct tm6000_board tm6000_boards[] = {
[TM6010_BOARD_HAUPPAUGE_900H] = {
.name = "Hauppauge HVR-900H",
.tuner_type = TUNER_XC2028, /* has a XC3028 */
- .tuner_addr = 0xc2,
- .demod_addr = 0x1e,
+ .tuner_addr = 0xc2 >> 1,
+ .demod_addr = 0x1e >> 1,
.type = TM6010,
.caps = {
.has_tuner = 1,