patch-2.1.120 linux/drivers/char/bttv.h
Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/bttv.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Fri Sep 4 15:32:26 1998
- Orig file:
v2.1.119/linux/drivers/char/bttv.h
- Orig date:
Wed Aug 26 11:37:36 1998
diff -u --recursive --new-file v2.1.119/linux/drivers/char/bttv.h linux/drivers/char/bttv.h
@@ -57,6 +57,12 @@
};
+struct bttv_pll_info {
+ unsigned int pll_ifreq; /* PLL input frequency */
+ unsigned int pll_ofreq; /* PLL output frequency */
+ unsigned int pll_crystal; /* Crystal used for input */
+};
+
struct bttv
{
struct video_device video_dev;
@@ -130,14 +136,13 @@
int grab;
int grabcount;
- int pll;
+ struct bttv_pll_info pll;
unsigned int Fsc;
unsigned int field;
unsigned int last_field; /* number of last grabbed field */
int i2c_command;
int triton1;
};
-
#endif
/*The following should be done in more portable way. It depends on define
@@ -161,6 +166,7 @@
#define BTTV_WRITEE _IOR('v', BASE_VIDIOCPRIVATE+1, char [256])
#define BTTV_GRAB _IOR('v' , BASE_VIDIOCPRIVATE+2, struct gbuf)
#define BTTV_FIELDNR _IOR('v' , BASE_VIDIOCPRIVATE+2, unsigned int)
+#define BTTV_PLLSET _IOW('v' , BASE_VIDIOCPRIVATE+3, struct bttv_pll_info)
#define BTTV_UNKNOWN 0x00
@@ -172,6 +178,7 @@
#define BTTV_AVERMEDIA 0x06
#define BTTV_MATRIX_VISION 0x07
#define BTTV_FLYVIDEO 0x08
+#define BTTV_HAUPPAUGE878 0x09
#define AUDIO_TUNER 0x00
#define AUDIO_RADIO 0x01
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov