|
@@ -29,6 +29,7 @@
|
|
|
#include "au8522.h"
|
|
|
#include "xc5000.h"
|
|
|
#include "mxl5007t.h"
|
|
|
+#include "tda18271.h"
|
|
|
|
|
|
DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
|
|
|
|
|
@@ -40,6 +41,13 @@ static struct au8522_config hauppauge_hvr950q_config = {
|
|
|
.status_mode = AU8522_DEMODLOCKING,
|
|
|
};
|
|
|
|
|
|
+static struct au8522_config hauppauge_woodbury_config = {
|
|
|
+ .demod_address = 0x8e >> 1,
|
|
|
+ .status_mode = AU8522_DEMODLOCKING,
|
|
|
+ .qam_if = AU8522_IF_4MHZ,
|
|
|
+ .vsb_if = AU8522_IF_3_25MHZ,
|
|
|
+};
|
|
|
+
|
|
|
static struct xc5000_config hauppauge_hvr950q_tunerconfig = {
|
|
|
.i2c_address = 0x61,
|
|
|
.if_khz = 6000,
|
|
@@ -51,6 +59,10 @@ static struct mxl5007t_config mxl5007t_hvr950q_config = {
|
|
|
.if_freq_hz = MxL_IF_6_MHZ,
|
|
|
};
|
|
|
|
|
|
+static struct tda18271_config hauppauge_woodbury_tunerconfig = {
|
|
|
+ .gate = TDA18271_GATE_DIGITAL,
|
|
|
+};
|
|
|
+
|
|
|
/*-------------------------------------------------------------------*/
|
|
|
static void urb_completion(struct urb *purb)
|
|
|
{
|
|
@@ -357,6 +369,15 @@ int au0828_dvb_register(struct au0828_dev *dev)
|
|
|
&dev->i2c_adap, 0x60,
|
|
|
&mxl5007t_hvr950q_config);
|
|
|
break;
|
|
|
+ case AU0828_BOARD_HAUPPAUGE_WOODBURY:
|
|
|
+ dvb->frontend = dvb_attach(au8522_attach,
|
|
|
+ &hauppauge_woodbury_config,
|
|
|
+ &dev->i2c_adap);
|
|
|
+ if (dvb->frontend != NULL)
|
|
|
+ dvb_attach(tda18271_attach, dvb->frontend,
|
|
|
+ 0x60, &dev->i2c_adap,
|
|
|
+ &hauppauge_woodbury_tunerconfig);
|
|
|
+ break;
|
|
|
default:
|
|
|
printk(KERN_WARNING "The frontend of your DVB/ATSC card "
|
|
|
"isn't supported yet\n");
|