? lgdt3303.patch ? linux/drivers/media/dvb/frontends/lgdt3303.c ? linux/drivers/media/dvb/frontends/lgdt3303.h Index: linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c =================================================================== RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c,v retrieving revision 1.7 diff -u -r1.7 flexcop-fe-tuner.c --- linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c 15 May 2005 21:29:04 -0000 1.7 +++ linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c 9 Jul 2005 15:20:47 -0000 @@ -13,6 +13,7 @@ #include "bcm3510.h" #include "stv0297.h" #include "mt312.h" +#include "lgdt3303.h" /* lnb control */ @@ -302,6 +303,11 @@ .request_firmware = flexcop_fe_request_firmware, }; +static struct lgdt3303_config air2pc_atsc_third_gen_config = { + .demod_address = 0x59, + .tuner_address = 0x61, +}; + static struct bcm3510_config air2pc_atsc_first_gen_config = { .demod_address = 0x0f, .request_firmware = flexcop_fe_request_firmware, @@ -359,6 +365,11 @@ fc->dev_type = FC_AIR_DVB; info("found the mt352 at i2c address: 0x%02x",samsung_tdtc9251dh0_config.demod_address); } else + /* try the air atsc 3rd generation (lgdt3303) */ + if ((fc->fe = lgdt3303_attach(&air2pc_atsc_third_gen_config, &fc->i2c_adap)) != NULL) { + fc->dev_type = FC_AIR_ATSC3; + info("found the lgdt3303 at i2c address: 0x%02x",samsung_tbmv_config.demod_address); + } else /* try the air atsc 2nd generation (nxt2002) */ if ((fc->fe = nxt2002_attach(&samsung_tbmv_config, &fc->i2c_adap)) != NULL) { fc->dev_type = FC_AIR_ATSC2; Index: linux/drivers/media/dvb/b2c2/flexcop-reg.h =================================================================== RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/b2c2/flexcop-reg.h,v retrieving revision 1.5 diff -u -r1.5 flexcop-reg.h --- linux/drivers/media/dvb/b2c2/flexcop-reg.h 12 Jun 2005 09:36:19 -0000 1.5 +++ linux/drivers/media/dvb/b2c2/flexcop-reg.h 9 Jul 2005 15:20:47 -0000 @@ -26,6 +26,7 @@ FC_SKY, FC_SKY_OLD, FC_CABLE, + FC_AIR_ATSC3, } flexcop_device_type_t; typedef enum { Index: linux/drivers/media/dvb/frontends/Kconfig =================================================================== RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/Kconfig,v retrieving revision 1.41 diff -u -r1.41 Kconfig --- linux/drivers/media/dvb/frontends/Kconfig 28 Jun 2005 16:37:18 -0000 1.41 +++ linux/drivers/media/dvb/frontends/Kconfig 9 Jul 2005 15:20:47 -0000 @@ -194,4 +194,11 @@ An ATSC 8VSB and QAM64/256 tuner module. Say Y when you want to support this frontend. +config DVB_LGDT3303 + tristate "LGDT3303" + depends on DVB_CORE + help + An ATSC 8VSB/16VSB and QAM64/256 tuner module. Say Y when you want to + support this frontend. + endmenu Index: linux/drivers/media/dvb/frontends/Makefile =================================================================== RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- linux/drivers/media/dvb/frontends/Makefile 28 Jun 2005 16:37:18 -0000 1.27 +++ linux/drivers/media/dvb/frontends/Makefile 9 Jul 2005 15:20:47 -0000 @@ -31,3 +31,4 @@ obj-$(CONFIG_DVB_BCM3510) += bcm3510.o obj-$(CONFIG_DVB_S5H1420) += s5h1420.o obj-$(CONFIG_DVB_LGDT3302) += lgdt3302.o +obj-$(CONFIG_DVB_LGDT3303) += lgdt3303.o