patch-2.4.20 linux-2.4.20/drivers/media/video/bttv.h
Next file: linux-2.4.20/drivers/media/video/bttvp.h
Previous file: linux-2.4.20/drivers/media/video/bttv-if.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Thu Nov 28 15:53:13 2002
- Orig file:
linux-2.4.19/drivers/media/video/bttv.h
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/media/video/bttv.h linux-2.4.20/drivers/media/video/bttv.h
@@ -90,6 +90,7 @@
#define BTTV_SENSORAY311 0x49
#define BTTV_RV605 0x4a
#define BTTV_WINDVR 0x4c
+#define BTTV_HAUPPAUGEPVR 0x50
/* i2c address list */
#define I2C_TSA5522 0xc2
@@ -174,6 +175,7 @@
returns negative value if error occurred
*/
extern int bttv_get_cardinfo(unsigned int card, int *type, int *cardid);
+extern struct pci_dev* bttv_get_pcidev(unsigned int card);
/* obsolete, use bttv_get_cardinfo instead */
extern int bttv_get_id(unsigned int card);
@@ -208,6 +210,11 @@
*/
extern wait_queue_head_t* bttv_get_gpio_queue(unsigned int card);
+/* call i2c clients
+*/
+extern void bttv_i2c_call(unsigned int card, unsigned int cmd, void *arg);
+
+
/* i2c */
#define I2C_CLIENTS_MAX 16
extern void bttv_bit_setscl(void *data, int state);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)