diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
commit | cf2fa66055d718ae13e62451bb546505f63906a2 (patch) | |
tree | e206d3f04e74a34e9aa88d21af6c26eea21d4121 /drivers/media/dvb/dvb-usb/dtv5100.h | |
parent | 4501a466f28788485604ee42641d7a5fe7258d16 (diff) | |
parent | 57f51dbc45f65f7ee1e8c8f77200bb8000e3e271 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (313 commits)
V4L/DVB (9186): Added support for Prof 7300 DVB-S/S2 cards
V4L/DVB (9185): S2API: Ensure we have a reasonable ROLLOFF default
V4L/DVB (9184): cx24116: Change the default SNR units back to percentage by default.
V4L/DVB (9183): S2API: Return error of the caller provides 0 commands.
V4L/DVB (9182): S2API: Added support for DTV_HIERARCHY
V4L/DVB (9181): S2API: Add support fot DTV_GUARD_INTERVAL and DTV_TRANSMISSION_MODE
V4L/DVB (9180): S2API: Added support for DTV_CODE_RATE_HP/LP
V4L/DVB (9179): S2API: frontend.h cleanup
V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.
V4L/DVB (9177): S2API: Change _8PSK / _16APSK to PSK_8 and APSK_16
V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator.
V4L/DVB (9175): Remove NULL pointer in stb6000 driver.
V4L/DVB (9174): Allow custom inittab for ST STV0288 demodulator.
V4L/DVB (9173): S2API: Remove the hardcoded command limit during validation
V4L/DVB (9172): S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.
V4L/DVB (9171): S2API: Stop an OOPS if illegal commands are dumped in S2API.
V4L/DVB (9170): cx24116: Sanity checking to data input via S2API to the cx24116 demod.
V4L/DVB (9169): uvcvideo: Support two new Bison Electronics webcams.
V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote
V4L/DVB: v4l2-dev: remove duplicated #include
...
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dtv5100.h')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtv5100.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dtv5100.h b/drivers/media/dvb/dvb-usb/dtv5100.h new file mode 100644 index 000000000000..93e96e04a82a --- /dev/null +++ b/drivers/media/dvb/dvb-usb/dtv5100.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T | ||
3 | * | ||
4 | * Copyright (C) 2008 Antoine Jacquet <royale@zerezo.com> | ||
5 | * http://royale.zerezo.com/dtv5100/ | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | */ | ||
21 | |||
22 | #ifndef _DVB_USB_DTV5100_H_ | ||
23 | #define _DVB_USB_DTV5100_H_ | ||
24 | |||
25 | #define DVB_USB_LOG_PREFIX "dtv5100" | ||
26 | #include "dvb-usb.h" | ||
27 | |||
28 | #define DTV5100_USB_TIMEOUT 500 | ||
29 | |||
30 | #define DTV5100_DEMOD_ADDR 0x00 | ||
31 | #define DTV5100_DEMOD_WRITE 0xc0 | ||
32 | #define DTV5100_DEMOD_READ 0xc1 | ||
33 | |||
34 | #define DTV5100_TUNER_ADDR 0xc4 | ||
35 | #define DTV5100_TUNER_WRITE 0xc7 | ||
36 | #define DTV5100_TUNER_READ 0xc8 | ||
37 | |||
38 | #define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/" | ||
39 | #define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T" | ||
40 | |||
41 | static struct { | ||
42 | u8 request; | ||
43 | u8 value; | ||
44 | u16 index; | ||
45 | } dtv5100_init[] = { | ||
46 | { 0x000000c5, 0x00000000, 0x00000001 }, | ||
47 | { 0x000000c5, 0x00000001, 0x00000001 }, | ||
48 | { } /* Terminating entry */ | ||
49 | }; | ||
50 | |||
51 | #endif | ||