aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bktr
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Update to driver release 2.07Roger Hardiman2000-01-2510-88/+247
| | | | Notes: svn path=/stable/3/; revision=56571
* MFC. Fix missing #include which meant kernel config options were ignored.Roger Hardiman1999-10-151-0/+2
| | | | Notes: svn path=/stable/3/; revision=52258
* MFC. Update to the driver to re-sync with -current.Roger Hardiman1999-10-074-17/+35
| | | | | | | | Adds new Australina channel set fixes, LeadTek Winfast 2000 audio and bug fixes for FM Radio Muting Notes: svn path=/stable/3/; revision=51981
* MFC:Roger Hardiman1999-10-011-0/+1
| | | | | | | | | | | Sync with the latest driver from -current. The bktr Bt848/Bt878 driver has been moved to /sys/dev/bktr and has also been broken down into smaller files for tuner,audio,card detection,video capture and OS specific parts. Notes: svn path=/stable/3/; revision=51847
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-09-2713-0/+9738
| | | | Notes: svn path=/stable/3/; revision=51726
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-08-311-0/+34
| | | | Notes: svn path=/stable/3/; revision=50678
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-216-6867/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* probe function changed from returning char * to const char *.Matthew Dillon1998-12-141-3/+3
| | | | Notes: svn path=/head/; revision=41771
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticArchie Cobbs1998-12-071-5/+4
| | | | | | | and local variables, goto labels, and functions declared but not defined. Notes: svn path=/head/; revision=41591
* * Fix a couple of places in the device pager where an address wasDoug Rabson1998-11-081-2/+2
| | | | | | | | | | | | | | truncated to 32 bits. * Change the calling convention of the device mmap entry point to pass a vm_offset_t instead of an int for the offset allowing devices with a larger memory map than (1<<32) to be supported on the alpha (/dev/mem is one such). These changes are required to allow the X server to mmap the various I/O regions used for device port and memory access on the alpha. Notes: svn path=/head/; revision=41004
* Return to previous check_for_i2c_devices() behaviour.Nicolas Souchu1998-11-072-24/+17
| | | | | | | | | Cast the cmd parameter to unsigned char in every smbus call. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=40991
* Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.Nicolas Souchu1998-10-314-19/+538
| | | | Notes: svn path=/head/; revision=40781
* Oops, forgot /* */ around Id stringSøren Schmidt1998-10-011-1/+1
| | | | Notes: svn path=/head/; revision=39856
* Hauppauge Tech Support confirmed all Hauppauge 878 PAL/SECAM boardsSøren Schmidt1998-09-301-12/+33
| | | | | | | | | will use PLL mode. Added to card probe. Thanks to Ken and Fred. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=39842
* Hauppauge Tech Support confirmed all Hauppauge 878 PAL/SECAM boardsSøren Schmidt1998-09-301-0/+3
| | | | | | | | | will use PLL mode. Added to card probe. Thanks to Ken and Fred. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=39841
* Changed tuner code to autodetect tuner i2c address.Søren Schmidt1998-09-303-79/+61
| | | | | | | | | Addresses were incorrectly hardcoded. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=39838
* Changed METEORSINPUT for Hauppauge cards with bt878.Søren Schmidt1998-09-102-25/+56
| | | | | | | | | Also fixed video_open defines and 878 support. Submitted by: Fred Templin <templin@erg.sri.com> Notes: svn path=/head/; revision=39041
* Correct SECAM B-Delay and add XUSSR channel set.Søren Schmidt1998-09-102-4/+37
| | | | | | | Submitted by: Vsevolod Lobko <seva@alex-ua.com> Notes: svn path=/head/; revision=39040
* Fixed bug in Miro Tuner detection. Missing Goto.Søren Schmidt1998-08-311-58/+70
| | | | | | | | | | | Removed Hauppauge EEPROM 0x10 detection as I think 0x10 should be a PAL tuner, not NTSC. Reinstated some Tuner Guesswork code from 1.27 Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=38708
* Renamed BT848[SG]CAPAREA to BT848_[SG]CAPAREA.Søren Schmidt1998-08-313-15/+69
| | | | | | | | | | | | | | Added PR kern/7177 for SECAM Video Highway Xtreme with single crystal PLL configuration submitted by Vsevolod Lobko <seva@alex-ua.com>. In kernel configuration file add options OVERRIDE_CARD=2 options OVERRIDE_TUNER=11 options BKTR_USE_PLL Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=38707
* Added Capture Area ioctl - BT848[SG]CAPAREA.Søren Schmidt1998-08-313-27/+175
| | | | | | | | | | | | Normally the full 640x480 (768x576 PAL) image is grabbed. This ioctl allows a smaller area from anywhere within the video image to be grabbed, eg a 400x300 image from (50,10). See restrictions in BT848SCAPAREA. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=38706
* Use [u]intptr_t instead of [u_]long for casts between pointers andBruce Evans1998-08-161-3/+3
| | | | | | | integers. Don't forget to cast to (void *) as well. Notes: svn path=/head/; revision=38354
* Support the PAL version of the BT878 based Haupauge WinTV/PCI.Søren Schmidt1998-08-101-0/+1
| | | | | | | Submitted by: Matthias Scheler <tron@netbsd.org> Notes: svn path=/head/; revision=38211
* Updated Hauppauge detection code for Tuner ID 0x0a for newer NTSCSøren Schmidt1998-08-081-5/+13
| | | | | | | | | WinCastTV 404 with Bt878 chipset. Tidied up PAL default in video_open() Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Notes: svn path=/head/; revision=38184
* Add support for the AVer Media range of cards.Søren Schmidt1998-07-141-9/+13
| | | | Notes: svn path=/head/; revision=37646
* I checked in the wrong version yesterday . The correct version is 1.38Amancio Hasty1998-07-141-12/+32
| | | | | | | Amancio Notes: svn path=/head/; revision=37631
* Improved Hauppauge's tuner detection and bt878 supportAmancio Hasty1998-07-132-37/+146
| | | | | | | Amancio Notes: svn path=/head/; revision=37611
* Removed unused includes.Bruce Evans1998-06-211-1/+0
| | | | Notes: svn path=/head/; revision=37101
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-071-1/+1
| | | | | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. Notes: svn path=/head/; revision=36735
* Reviewed by: hasty@star-gate.comAmancio Hasty1998-06-051-0/+2
| | | | | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> I left out a line of code from Roger's last patch :( Notes: svn path=/head/; revision=36663
* Reviewed by: hasty@freebsd.orgAmancio Hasty1998-05-241-7/+0
| | | | | | | | | Submitted by: hasty@star-gate.com Eliminate NTSC default setting if user choses a different video format. Notes: svn path=/head/; revision=36334
* Reviewed by: ahasty@freebsd.orgAmancio Hasty1998-05-191-6/+35
| | | | | | | | | | | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL in the kernel config file makes the driver's video_open() function select PAL rather than NTSC. This fixed all the hangs on my Dual Crystal card when using a PAL video signal. As a result, you can loose the tsleep (of 2 seconds - now 0.25!!) which I previously added. (Unless someone else wanted the 0.25 second tsleep). Notes: svn path=/head/; revision=36172
* 1.31 Randall Hopper <rhh@ct.picker.com>Amancio Hasty1998-05-163-279/+441
| | | | | | | | | | | | | | | | | | | | | | submitted ioctl to clear the video buffer prior to starting video capture Amancio : clean up yuv12 so that it does not affect rgb capture. Basically, fxtv after capturing in yuv12 mode , switching to rgb would cause the video capture to be too bright. 1.32 disable inverse gamma function for rgb and yuv capture. fixed meteor brightness ioctl it now converts the brightness value from unsigned to signed. 1.33 added sysctl: hw.bt848.tuner, hw.bt848.reverse_mute, hw.bt848.card card takes a value from 0 to bt848_max_card tuner takes a value from 0 to bt848_max_tuner reverse_mute : 0 no effect, 1 reverse tuner mute function some tuners are wired reversed :( Notes: svn path=/head/; revision=36090
* Forgot to add opt_bktr.hAmancio Hasty1998-04-191-0/+1
| | | | Notes: svn path=/head/; revision=35313
* Reviewed by: AmancioAmancio Hasty1998-04-181-21/+97
| | | | | | | | | | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Roger Hardiman <roger@cs.strath.ac.uk> : Revised autodetection code to correctly handle both old and new VideoLogic Captivator PCI cards. Added tsleep of 2 seconds to initialistion code for PAL users. Corrected clock selection code on format change. --- Amancio Notes: svn path=/head/; revision=35259
* take out opt_bktr.h from brooktree848.cAmancio Hasty1998-04-061-1/+0
| | | | Notes: svn path=/head/; revision=35057
* Reviewed by: AmancioAmancio Hasty1998-04-052-4/+53
| | | | | | | | | Submitted by: Frank Nobis <fn@Radio-do.de> Mods to view german cable tv and minor fix to correctly identify bt849. Notes: svn path=/head/; revision=35050
* Restored half of the ANSI semantic errors fix which was clobberedBruce Evans1998-03-011-2/+0
| | | | | | | by the previous commit. Notes: svn path=/head/; revision=33940
* Radio support for bt848 cards from Flemming Jacobsen <fj@trw.nl>Amancio Hasty1998-02-263-18/+46
| | | | | | | Amancio Notes: svn path=/head/; revision=33850
* Added missing #include of "opt_devfs.h".Bruce Evans1998-02-251-4/+3
| | | | | | | | | | Fixed pedantic semantics errors (in ANSI C, static arrays must have a size, and static objects should be consistently declared as static unless you know more than anyone should have to know about the linkage rules). Notes: svn path=/head/; revision=33830
* Move Luigi's I2CWR ioctl from the video_ioctl section to theAmancio Hasty1998-02-201-22/+26
| | | | | | | | tuner_ioctl section. Changed Major device from 79 to 92 and reserved our Major device number -- hasty@star-gate.com Notes: svn path=/head/; revision=33638
* Staticize.Eivind Eklund1998-02-091-8/+8
| | | | Notes: svn path=/head/; revision=33181
* Back out DIAGNOSTIC changes.Eivind Eklund1998-02-061-1/+0
| | | | Notes: svn path=/head/; revision=33134
* Turn DIAGNOSTIC into a new-style option.Eivind Eklund1998-02-041-0/+1
| | | | Notes: svn path=/head/; revision=33108
* Re-add my DEVFS changes after they were stomped on. This time, I throw awayEivind Eklund1998-02-042-5/+4
| | | | | | | the DEVFS tokens (as they weren't used anywhere anyway). Notes: svn path=/head/; revision=33066
* Bugs/Enhancements:Amancio Hasty1998-02-023-149/+289
| | | | | | | | | | | | | | | | | | | | 1. Takeshi Ohashi <ohashi@atohasi.mickey.ai.kyutech.ac.jp> submitted code to support bktr_read . /usr/src/share/examples/rgb24.c now works 8) 2. Flemming Jacobsen <fj@schizo.dk.tfs.com> submitted code to support radio available with in some bt848 based cards;additionally, wrote code to correctly recognized his bt848 card. 3. Roger Hardiman <roger@cs.strath.ac.uk> submitted various fixes to smooth out the microcode and made all modes consistent. 4. Added supported for yuv12 so we know can capture raw streams and feed it to mpeg_encoder . The upshot is that we can now mpeg encode more and save nearly 100 percent of the disk requirements previously for programs such as fxtv first save the raw video image to disk then converted to a format suitable for mpeg_encode. Notes: svn path=/head/; revision=33025
* Attempt at making this use DEVFS properly. (Now it should at least work.)Eivind Eklund1998-01-312-3/+6
| | | | Notes: svn path=/head/; revision=32926
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.Eivind Eklund1998-01-241-0/+1
| | | | | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow. Notes: svn path=/head/; revision=32726
* Reviewed by: Amancio HastyAmancio Hasty1997-12-311-4/+20
| | | | | | | | | Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca> The patch is for a Hauppauge Win/TV dbx with FM. I still need to config OVERRIDE_TUNER, but it works nicely. Notes: svn path=/head/; revision=32136
* Reviewed by: Amancio HastyAmancio Hasty1997-11-162-9/+185
| | | | | | | | | Submitted by: Amancio Hasty <hasty@star-gate.com> Added yuv12 support for mpeg encoding and Randall Hopper's fixed for Temporal Decimation Notes: svn path=/head/; revision=31186