Deleted Added
full compact
bktr_tuner.c (146734) bktr_tuner.c (152375)
1/*-
2 * 1. Redistributions of source code must retain the
3 * Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 18 unchanged lines hidden (view full) ---

27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
1/*-
2 * 1. Redistributions of source code must retain the
3 * Copyright (c) 1997 Amancio Hasty, 1999 Roger Hardiman
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 18 unchanged lines hidden (view full) ---

27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_tuner.c 146734 2005-05-29 04:42:30Z nyan $");
35__FBSDID("$FreeBSD: head/sys/dev/bktr/bktr_tuner.c 152375 2005-11-13 13:26:37Z netchild $");
36
37/*
38 * This is part of the Driver for Video Capture Cards (Frame grabbers)
39 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
40 * chipset.
41 * Copyright Roger Hardiman and Amancio Hasty.
42 *
43 * bktr_tuner : This deals with controlling the tuner fitted to TV cards.

--- 229 unchanged lines hidden (view full) ---

273 /* ALPS TSBH1 NTSC */
274 { "ALPS TSBH1 NTSC", /* the 'name' */
275 TTYPE_NTSC, /* input type */
276 { TSBH1_FCONTROL, /* control byte for Tuner PLL */
277 TSBH1_FCONTROL,
278 TSBH1_FCONTROL,
279 0x00 },
280 { 0x00, 0x00 }, /* band-switch crosspoints */
36
37/*
38 * This is part of the Driver for Video Capture Cards (Frame grabbers)
39 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
40 * chipset.
41 * Copyright Roger Hardiman and Amancio Hasty.
42 *
43 * bktr_tuner : This deals with controlling the tuner fitted to TV cards.

--- 229 unchanged lines hidden (view full) ---

273 /* ALPS TSBH1 NTSC */
274 { "ALPS TSBH1 NTSC", /* the 'name' */
275 TTYPE_NTSC, /* input type */
276 { TSBH1_FCONTROL, /* control byte for Tuner PLL */
277 TSBH1_FCONTROL,
278 TSBH1_FCONTROL,
279 0x00 },
280 { 0x00, 0x00 }, /* band-switch crosspoints */
281 { 0x01, 0x02, 0x08, 0x00 } }, /* the band-switch values */
281 { 0x01, 0x02, 0x08, 0x00 } }, /* the band-switch values */
282
283 /* MT2032 Microtune */
284 { "MT2032", /* the 'name' */
282
283 /* MT2032 Microtune */
284 { "MT2032", /* the 'name' */
285 TTYPE_PAL, /* input type */
285 TTYPE_PAL, /* input type */
286 { TSA552x_SCONTROL, /* control byte for Tuner PLL */
287 TSA552x_SCONTROL,
288 TSA552x_SCONTROL,
289 0x00 },
290 { 0x00, 0x00 }, /* band-switch crosspoints */
291 { 0xa0, 0x90, 0x30, 0x00 } }, /* the band-switch values */
286 { TSA552x_SCONTROL, /* control byte for Tuner PLL */
287 TSA552x_SCONTROL,
288 TSA552x_SCONTROL,
289 0x00 },
290 { 0x00, 0x00 }, /* band-switch crosspoints */
291 { 0xa0, 0x90, 0x30, 0x00 } }, /* the band-switch values */
292
293 /* LG TPI8PSB12P PAL */
294 { "LG TPI8PSB12P PAL", /* the 'name' */
295 TTYPE_PAL, /* input type */
296 { TSA552x_SCONTROL, /* control byte for Tuner PLL */
297 TSA552x_SCONTROL,
298 TSA552x_SCONTROL,
299 0x00 },
300 { 0x00, 0x00 }, /* band-switch crosspoints */
301 { 0xa0, 0x90, 0x30, 0x8e } }, /* the band-switch values */
292};
293
294
295/* scaling factor for frequencies expressed as ints */
296#define FREQFACTOR 16
297
298/*
299 * Format:

--- 1117 unchanged lines hidden ---
302};
303
304
305/* scaling factor for frequencies expressed as ints */
306#define FREQFACTOR 16
307
308/*
309 * Format:

--- 1117 unchanged lines hidden ---