[linux-dvb] [EXPERIMENTAL PATCH] Use nxt200x module on Air2PC r3
(Nxt2002 based) flexcop board
Mike Krufky
mkrufky at linuxtv.org
Thu Oct 27 23:31:58 CEST 2005
Mike Krufky wrote:
> Would be nice for someone who has that card to test it with the new
> nxt200x driver. In it's current state, the flexcop patch proposed by
> Kirk should do the trick.
>
Just to clarify, here is the patch that needs testing:
Signed-off-by: Kirk Lapray <kirk.lapray at gmail.com>
-------------- next part --------------
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.12
diff -u -p -r1.12 flexcop-fe-tuner.c
--- linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c 15 Oct 2005 17:48:57 -0000 1.12
+++ linux/drivers/media/dvb/b2c2/flexcop-fe-tuner.c 27 Oct 2005 21:21:07 -0000
@@ -9,7 +9,7 @@
#include "stv0299.h"
#include "mt352.h"
-#include "nxt2002.h"
+#include "nxt200x.h"
#include "bcm3510.h"
#include "stv0297_cs2.h"
#include "mt312.h"
@@ -343,9 +343,10 @@ static struct lgdt330x_config air2pc_ats
.clock_polarity_flip = 1,
};
-static struct nxt2002_config samsung_tbmv_config = {
+static struct nxt200x_config samsung_tbmv_config = {
.demod_address = 0x0a,
- .request_firmware = flexcop_fe_request_firmware,
+ .pll_address = 0xc2,
+ .pll_desc = &dvb_pll_tbmv30111in,
};
static struct bcm3510_config air2pc_atsc_first_gen_config = {
@@ -450,7 +451,7 @@ int flexcop_frontend_init(struct flexcop
info("found the mt352 at i2c address: 0x%02x",samsung_tdtc9251dh0_config.demod_address);
} else
/* try the air atsc 2nd generation (nxt2002) */
- if ((fc->fe = nxt2002_attach(&samsung_tbmv_config, &fc->i2c_adap)) != NULL) {
+ if ((fc->fe = nxt200x_attach(&samsung_tbmv_config, &fc->i2c_adap)) != NULL) {
fc->dev_type = FC_AIR_ATSC2;
info("found the nxt2002 at i2c address: 0x%02x",samsung_tbmv_config.demod_address);
} else
More information about the linux-dvb
mailing list