aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci/av7110.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110.c')
-rw-r--r--drivers/media/dvb/ttpci/av7110.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c
index a6be529eec5c..3d20719fce1a 100644
--- a/drivers/media/dvb/ttpci/av7110.c
+++ b/drivers/media/dvb/ttpci/av7110.c
@@ -26,7 +26,7 @@
26 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html 26 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
27 * 27 *
28 * 28 *
29 * the project's page is at http://www.linuxtv.org/dvb/ 29 * the project's page is at http://www.linuxtv.org/
30 */ 30 */
31 31
32 32
@@ -730,6 +730,7 @@ static const struct file_operations dvb_osd_fops = {
730 .unlocked_ioctl = dvb_generic_ioctl, 730 .unlocked_ioctl = dvb_generic_ioctl,
731 .open = dvb_generic_open, 731 .open = dvb_generic_open,
732 .release = dvb_generic_release, 732 .release = dvb_generic_release,
733 .llseek = noop_llseek,
733}; 734};
734 735
735static struct dvb_device dvbdev_osd = { 736static struct dvb_device dvbdev_osd = {
@@ -2290,12 +2291,7 @@ static int frontend_init(struct av7110 *av7110)
2290/* Budgetpatch note: 2291/* Budgetpatch note:
2291 * Original hardware design by Roberto Deza: 2292 * Original hardware design by Roberto Deza:
2292 * There is a DVB_Wiki at 2293 * There is a DVB_Wiki at
2293 * http://212.227.36.83/linuxtv/wiki/index.php/Main_Page 2294 * http://www.linuxtv.org/
2294 * where is described this 'DVB TT Budget Patch', on Card Modding:
2295 * http://212.227.36.83/linuxtv/wiki/index.php/DVB_TT_Budget_Patch
2296 * On the short description there is also a link to a external file,
2297 * with more details:
2298 * http://perso.wanadoo.es/jesussolano/Ttf_tsc1.zip
2299 * 2295 *
2300 * New software triggering design by Emard that works on 2296 * New software triggering design by Emard that works on
2301 * original Roberto Deza's hardware: 2297 * original Roberto Deza's hardware:
@@ -2336,7 +2332,7 @@ static int frontend_init(struct av7110 *av7110)
2336 * increment. That's how the 7146 is programmed to do event 2332 * increment. That's how the 7146 is programmed to do event
2337 * counting in this budget-patch.c 2333 * counting in this budget-patch.c
2338 * I *think* HPS setting has something to do with the phase 2334 * I *think* HPS setting has something to do with the phase
2339 * of HS but I cant be 100% sure in that. 2335 * of HS but I can't be 100% sure in that.
2340 * 2336 *
2341 * hardware debug note: a working budget card (including budget patch) 2337 * hardware debug note: a working budget card (including budget patch)
2342 * with vpeirq() interrupt setup in mode "0x90" (every 64K) will 2338 * with vpeirq() interrupt setup in mode "0x90" (every 64K) will
@@ -2476,7 +2472,6 @@ static int __devinit av7110_attach(struct saa7146_dev* dev,
2476 get recognized before the main driver is fully loaded */ 2472 get recognized before the main driver is fully loaded */
2477 saa7146_write(dev, GPIO_CTRL, 0x500000); 2473 saa7146_write(dev, GPIO_CTRL, 0x500000);
2478 2474
2479 av7110->i2c_adap.class = I2C_CLASS_TV_DIGITAL;
2480 strlcpy(av7110->i2c_adap.name, pci_ext->ext_priv, sizeof(av7110->i2c_adap.name)); 2475 strlcpy(av7110->i2c_adap.name, pci_ext->ext_priv, sizeof(av7110->i2c_adap.name));
2481 2476
2482 saa7146_i2c_adapter_prepare(dev, &av7110->i2c_adap, SAA7146_I2C_BUS_BIT_RATE_120); /* 275 kHz */ 2477 saa7146_i2c_adapter_prepare(dev, &av7110->i2c_adap, SAA7146_I2C_BUS_BIT_RATE_120); /* 275 kHz */
@@ -2890,7 +2885,7 @@ MODULE_DEVICE_TABLE(pci, pci_tbl);
2890 2885
2891 2886
2892static struct saa7146_extension av7110_extension_driver = { 2887static struct saa7146_extension av7110_extension_driver = {
2893 .name = "dvb", 2888 .name = "av7110",
2894 .flags = SAA7146_USE_I2C_IRQ, 2889 .flags = SAA7146_USE_I2C_IRQ,
2895 2890
2896 .module = THIS_MODULE, 2891 .module = THIS_MODULE,