diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-ci.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index b9b3cd9c0369..09b972b9ffe3 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -42,6 +42,8 @@ | |||
42 | #include "stv0299.h" | 42 | #include "stv0299.h" |
43 | #include "stv0297.h" | 43 | #include "stv0297.h" |
44 | #include "tda1004x.h" | 44 | #include "tda1004x.h" |
45 | #include "lnbp21.h" | ||
46 | #include "bsbe1.h" | ||
45 | 47 | ||
46 | #define DEBIADDR_IR 0x1234 | 48 | #define DEBIADDR_IR 0x1234 |
47 | #define DEBIADDR_CICONTROL 0x0000 | 49 | #define DEBIADDR_CICONTROL 0x0000 |
@@ -1069,6 +1071,20 @@ static void frontend_init(struct budget_ci *budget_ci) | |||
1069 | break; | 1071 | break; |
1070 | } | 1072 | } |
1071 | break; | 1073 | break; |
1074 | |||
1075 | case 0x1017: // TT S-1500 PCI | ||
1076 | budget_ci->budget.dvb_frontend = stv0299_attach(&alps_bsbe1_config, &budget_ci->budget.i2c_adap); | ||
1077 | if (budget_ci->budget.dvb_frontend) { | ||
1078 | budget_ci->budget.dvb_frontend->ops->dishnetwork_send_legacy_command = NULL; | ||
1079 | if (lnbp21_init(budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, LNBP21_LLC, 0)) { | ||
1080 | printk("%s: No LNBP21 found!\n", __FUNCTION__); | ||
1081 | if (budget_ci->budget.dvb_frontend->ops->release) | ||
1082 | budget_ci->budget.dvb_frontend->ops->release(budget_ci->budget.dvb_frontend); | ||
1083 | budget_ci->budget.dvb_frontend = NULL; | ||
1084 | } | ||
1085 | } | ||
1086 | |||
1087 | break; | ||
1072 | } | 1088 | } |
1073 | 1089 | ||
1074 | if (budget_ci->budget.dvb_frontend == NULL) { | 1090 | if (budget_ci->budget.dvb_frontend == NULL) { |
@@ -1146,6 +1162,7 @@ static int budget_ci_detach(struct saa7146_dev *dev) | |||
1146 | 1162 | ||
1147 | static struct saa7146_extension budget_extension; | 1163 | static struct saa7146_extension budget_extension; |
1148 | 1164 | ||
1165 | MAKE_BUDGET_INFO(ttbs2, "TT-Budget/S-1500 PCI", BUDGET_TT); | ||
1149 | MAKE_BUDGET_INFO(ttbci, "TT-Budget/WinTV-NOVA-CI PCI", BUDGET_TT_HW_DISEQC); | 1166 | MAKE_BUDGET_INFO(ttbci, "TT-Budget/WinTV-NOVA-CI PCI", BUDGET_TT_HW_DISEQC); |
1150 | MAKE_BUDGET_INFO(ttbt2, "TT-Budget/WinTV-NOVA-T PCI", BUDGET_TT); | 1167 | MAKE_BUDGET_INFO(ttbt2, "TT-Budget/WinTV-NOVA-T PCI", BUDGET_TT); |
1151 | MAKE_BUDGET_INFO(ttbtci, "TT-Budget-T-CI PCI", BUDGET_TT); | 1168 | MAKE_BUDGET_INFO(ttbtci, "TT-Budget-T-CI PCI", BUDGET_TT); |
@@ -1157,6 +1174,7 @@ static struct pci_device_id pci_tbl[] = { | |||
1157 | MAKE_EXTENSION_PCI(ttbcci, 0x13c2, 0x1010), | 1174 | MAKE_EXTENSION_PCI(ttbcci, 0x13c2, 0x1010), |
1158 | MAKE_EXTENSION_PCI(ttbt2, 0x13c2, 0x1011), | 1175 | MAKE_EXTENSION_PCI(ttbt2, 0x13c2, 0x1011), |
1159 | MAKE_EXTENSION_PCI(ttbtci, 0x13c2, 0x1012), | 1176 | MAKE_EXTENSION_PCI(ttbtci, 0x13c2, 0x1012), |
1177 | MAKE_EXTENSION_PCI(ttbs2, 0x13c2, 0x1017), | ||
1160 | { | 1178 | { |
1161 | .vendor = 0, | 1179 | .vendor = 0, |
1162 | } | 1180 | } |