diff options
author | Johannes Stezenbach <devnull@localhost> | 2003-11-06 12:45:04 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2003-11-06 12:45:04 +0000 |
commit | cf79828b6c3fce565b0627a8ad394e9752464e3a (patch) | |
tree | e1ffc3f6ceec8f421b4dff08b52db8cb52500ccf /linux/drivers/media/dvb/ttpci | |
parent | 91ce1ee4f1f884f5c47223ddd169304937c24b77 (diff) | |
download | mediapointer-dvb-s2-cf79828b6c3fce565b0627a8ad394e9752464e3a.tar.gz mediapointer-dvb-s2-cf79828b6c3fce565b0627a8ad394e9752464e3a.tar.bz2 |
patch by Karl Herz: add "rgb_on" module paramter
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 27fb54a75..67288e527 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -105,6 +105,7 @@ static int vidmode=CVBS_RGB_OUT; static int pids_off; static int adac=DVB_ADAC_TI; static int hw_sections = 1; +static int rgb_on = 0; int av7110_num = 0; @@ -4747,7 +4748,8 @@ static int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_ // switch DVB SCART on outcom(av7110, COMTYPE_AUDIODAC, MainSwitch, 1, 0); outcom(av7110, COMTYPE_AUDIODAC, ADSwitch, 1, 1); - //saa7146_setgpio(dev, 1, SAA7146_GPIO_OUTHI); // RGB on, SCART pin 16 + if (rgb_on) + saa7146_setgpio(dev, 1, SAA7146_GPIO_OUTHI); // RGB on, SCART pin 16 //saa7146_setgpio(dev, 3, SAA7146_GPIO_OUTLO); // SCARTpin 8 } @@ -5054,4 +5056,6 @@ MODULE_PARM(adac,"i"); MODULE_PARM_DESC(adac,"audio DAC type: 0 TI, 1 CRYSTAL, 2 MSP (use if autodetection fails)"); MODULE_PARM(hw_sections, "i"); MODULE_PARM_DESC(hw_sections, "0 use software section filter, 1 use hardware"); - +MODULE_PARM(rgb_on, "i"); +MODULE_PARM_DESC(rgb_on, "For Siemens DVB-C cards only: Enable RGB control" + " signal on SCART pin 16 to switch SCART video mode from CVBS to RGB"); |