diff options
author | markm <markm@FreeBSD.org> | 1997-10-07 06:30:01 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1997-10-07 06:30:01 +0000 |
commit | 5cd702d01f752d3962626050b4fd78801240b184 (patch) | |
tree | 950336c537e318229d16643b3c4db30288ebbe1e /sys/i386/include/ioctl_bt848.h | |
parent | 7db41f31dc17e35afb0a47f2eaa01b9677e8e814 (diff) | |
download | FreeBSD-src-5cd702d01f752d3962626050b4fd78801240b184.zip FreeBSD-src-5cd702d01f752d3962626050b4fd78801240b184.tar.gz |
Latest round of patches from the author.
This driver includes the following patches submitted by:
1.0 Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
Japanese Cable support
2.0 Keith Sklower <sklower@CS.Berkeley.EDU>
Minor update to the BSDI section so it compiles cleanly on BSDI
3.0 Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
ioctl interface to select video format , NTSC, PAL, etc...
Diffstat (limited to 'sys/i386/include/ioctl_bt848.h')
-rw-r--r-- | sys/i386/include/ioctl_bt848.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/sys/i386/include/ioctl_bt848.h b/sys/i386/include/ioctl_bt848.h index 02febcd..94382aa 100644 --- a/sys/i386/include/ioctl_bt848.h +++ b/sys/i386/include/ioctl_bt848.h @@ -9,9 +9,10 @@ #define CHNLSET_CABLEIRC 2 #define CHNLSET_CABLEHRC 3 #define CHNLSET_WEUROPE 4 -#define CHNLSET_JPNBCST 5 -#define CHNLSET_MIN CHNLSET_NABCST -#define CHNLSET_MAX CHNLSET_JPNBCST +#define CHNLSET_JPNBCST 5 +#define CHNLSET_JPNCABLE 6 +#define CHNLSET_MIN CHNLSET_NABCST +#define CHNLSET_MAX CHNLSET_JPNCABLE /* @@ -184,3 +185,21 @@ struct _bktr_clip { /* set clip list */ #define BT848SCLIP _IOW('x', 66, struct _bktr_clip ) #define BT848GCLIP _IOR('x', 66, struct _bktr_clip ) + + +/* set input format */ +#define BT848SFMT _IOW('x', 67, unsigned long ) +#define BT848GFMT _IOR('x', 67, unsigned long ) + +/* XXX - Copied from /sys/pci/brktree_reg.h */ +#define BT848_IFORM_FORMAT (0x7<<0) +# define BT848_IFORM_F_RSVD (0x7) +# define BT848_IFORM_F_SECAM (0x6) +# define BT848_IFORM_F_PALN (0x5) +# define BT848_IFORM_F_PALM (0x4) +# define BT848_IFORM_F_PALBDGHI (0x3) +# define BT848_IFORM_F_NTSCJ (0x2) +# define BT848_IFORM_F_NTSCM (0x1) +# define BT848_IFORM_F_AUTO (0x0) + + |