diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-05 14:50:14 -0500 |
---|---|---|
committer | Steven Toth <stoth@hauppauge.com> | 2008-01-05 14:50:14 -0500 |
commit | 0ff72a9f6b16aacf4796b7cc828a8e6ef23d21f6 (patch) | |
tree | 2eee9782f80c80e10d49c5e82d10c949a065413e /linux/drivers/media/dvb/frontends/xc5000.h | |
parent | e2139d325792137613705857f08f07a43ba118f8 (diff) | |
download | mediapointer-dvb-s2-0ff72a9f6b16aacf4796b7cc828a8e6ef23d21f6.tar.gz mediapointer-dvb-s2-0ff72a9f6b16aacf4796b7cc828a8e6ef23d21f6.tar.bz2 |
xc5000: Tuner analog support
From: Steven Toth <stoth@hauppauge.com>
From Zhang: This an updated patch that adds analog support for
the xc5000 tuner driver. it was tested on a Pinnacle PCTV HD 800i
card (patches to follow).
Patch commited as-is, cleanup to follow ... Steve.
Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/xc5000.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/xc5000.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/xc5000.h b/linux/drivers/media/dvb/frontends/xc5000.h index 941b31948..85b2d438f 100644 --- a/linux/drivers/media/dvb/frontends/xc5000.h +++ b/linux/drivers/media/dvb/frontends/xc5000.h @@ -28,13 +28,15 @@ struct dvb_frontend; struct i2c_adapter; struct xc5000_config { - u8 i2c_address; - u32 if_khz; - int (*request_firmware)(struct dvb_frontend *fe, - const struct firmware **fw, char *name); - int (*tuner_reset)(struct dvb_frontend* fe); + u8 i2c_address; + u32 if_khz; + void *video_dev; + int (*tuner_callback) (void *dev, int command, int arg); }; +/* xc5000 callback command */ +#define XC5000_TUNER_RESET 0 + #if defined(CONFIG_DVB_TUNER_XC5000) || defined(CONFIG_DVB_TUNER_XC5000_MODULE) extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, |