summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
Commit message (Collapse)AuthorAgeFilesLines
* probe function changed from returning char * to const char *.dillon1998-12-141-3/+3
|
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-5/+4
| | | | and local variables, goto labels, and functions declared but not defined.
* * Fix a couple of places in the device pager where an address wasdfr1998-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.
* Return to previous check_for_i2c_devices() behaviour.nsouch1998-11-072-24/+17
| | | | | | Cast the cmd parameter to unsigned char in every smbus call. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.nsouch1998-10-314-19/+538
|
* Oops, forgot /* */ around Id stringsos1998-10-011-1/+1
|
* Hauppauge Tech Support confirmed all Hauppauge 878 PAL/SECAM boardssos1998-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>
* Hauppauge Tech Support confirmed all Hauppauge 878 PAL/SECAM boardssos1998-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>
* Changed tuner code to autodetect tuner i2c address.sos1998-09-303-79/+61
| | | | | | Addresses were incorrectly hardcoded. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Changed METEORSINPUT for Hauppauge cards with bt878.sos1998-09-102-25/+56
| | | | | | Also fixed video_open defines and 878 support. Submitted by: Fred Templin <templin@erg.sri.com>
* Correct SECAM B-Delay and add XUSSR channel set.sos1998-09-102-4/+37
| | | | Submitted by: Vsevolod Lobko <seva@alex-ua.com>
* Fixed bug in Miro Tuner detection. Missing Goto.sos1998-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>
* Renamed BT848[SG]CAPAREA to BT848_[SG]CAPAREA.sos1998-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>
* Added Capture Area ioctl - BT848[SG]CAPAREA.sos1998-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>
* Use [u]intptr_t instead of [u_]long for casts between pointers andbde1998-08-161-3/+3
| | | | integers. Don't forget to cast to (void *) as well.
* Support the PAL version of the BT878 based Haupauge WinTV/PCI.sos1998-08-101-0/+1
| | | | Submitted by: Matthias Scheler <tron@netbsd.org>
* Updated Hauppauge detection code for Tuner ID 0x0a for newer NTSCsos1998-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>
* Add support for the AVer Media range of cards.sos1998-07-141-9/+13
|
* I checked in the wrong version yesterday . The correct version is 1.38ahasty1998-07-141-12/+32
| | | | Amancio
* Improved Hauppauge's tuner detection and bt878 supportahasty1998-07-132-37/+146
| | | | Amancio
* Removed unused includes.bde1998-06-211-1/+0
|
* This commit fixes various 64bit portability problems required fordfr1998-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.
* Reviewed by: hasty@star-gate.comahasty1998-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 :(
* Reviewed by: hasty@freebsd.orgahasty1998-05-241-7/+0
| | | | | | Submitted by: hasty@star-gate.com Eliminate NTSC default setting if user choses a different video format.
* Reviewed by: ahasty@freebsd.orgahasty1998-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).
* 1.31 Randall Hopper <rhh@ct.picker.com>ahasty1998-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 :(
* Forgot to add opt_bktr.hahasty1998-04-191-0/+1
|
* Reviewed by: Amancioahasty1998-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
* take out opt_bktr.h from brooktree848.cahasty1998-04-061-1/+0
|
* Reviewed by: Amancioahasty1998-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.
* Restored half of the ANSI semantic errors fix which was clobberedbde1998-03-011-2/+0
| | | | by the previous commit.
* Radio support for bt848 cards from Flemming Jacobsen <fj@trw.nl>ahasty1998-02-263-18/+46
| | | | Amancio
* Added missing #include of "opt_devfs.h".bde1998-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).
* Move Luigi's I2CWR ioctl from the video_ioctl section to theahasty1998-02-201-22/+26
| | | | | tuner_ioctl section. Changed Major device from 79 to 92 and reserved our Major device number -- hasty@star-gate.com
* Staticize.eivind1998-02-091-8/+8
|
* Back out DIAGNOSTIC changes.eivind1998-02-061-1/+0
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-0/+1
|
* Re-add my DEVFS changes after they were stomped on. This time, I throw awayeivind1998-02-042-5/+4
| | | | the DEVFS tokens (as they weren't used anywhere anyway).
* Bugs/Enhancements:ahasty1998-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.
* Attempt at making this use DEVFS properly. (Now it should at least work.)eivind1998-01-312-3/+6
|
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.eivind1998-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.
* Reviewed by: Amancio Hastyahasty1997-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.
* Reviewed by: Amancio Hastyahasty1997-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
* Rats. Committed the wrong version.markm1997-11-061-5/+11
| | | | Move the declarations to the top of the ioctl() function so this compiles.
* 1) Add the IOCTL for Luigi's BT848 -> I2C bus driver.markm1997-11-061-14/+113
| | | | | | | | 2) Fix temporal decimation, disable it when doing CAP_SINGLEs, and in dual-field capture, don't capture fields for different frames Submitted by: Luigi Rizzo & Randall Hopper
* Add the IOCTL for Luigi's BT848 -> I2C bus driver.markm1997-11-061-1/+8
|
* Improve PAL support and fix mux selector values.eivind1997-10-302-32/+104
| | | | | | | This make the Miro PCTV work for me, including audio, and should hopefully fix the other audio problems some people have been having. Reviewed by: ahasty & Luigi Rizzo (freebsd-multimedia)
* Despam 1.11, 1.12 and 1.13 caused by no sync between author/committer/CURRENTmarkm1997-10-081-14/+36
|
* Latest round of patches from the author.markm1997-10-073-18/+102
| | | | | | | | | | | | | 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...
* Amancio's latest in the Brooktree driver.markm1997-09-093-236/+353
| | | | | This fixes the european frequency set, separates this further from the Meteor driver and fixes bugs.
OpenPOWER on IntegriCloud