summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKlaus Schmidinger <Klaus.Schmidinger@tvdr.de>2010-04-11 09:12:52 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 15:57:47 (GMT)
commitb187913c77adbd865194c6b8072764e3474d56ea (patch)
tree762cc4963dfb732daa0b8c3e8fbd4ad1b555aada /include
parentdd3f616d4b60a50328be152f66c93bd451461a39 (diff)
downloadlinux-fsl-qoriq-b187913c77adbd865194c6b8072764e3474d56ea.tar.xz
V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
The enum fe_caps provides flags that allow an application to detect whether a device is capable of handling various modulation types etc. A flag for detecting PSK_8, however, is missing. This patch adds the flag FE_CAN_PSK_8 to frontend.h and implements it for the gp8psk-fe.c and cx24116.c driver (apparently the only ones with PSK_8). Only the gp8psk-fe.c has been explicitly tested, though. Signed-off-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de> Tested-by: Derek Kelly <user.vdr@gmail.com> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dvb/frontend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index b6cb542..7c73f0b 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -62,6 +62,7 @@ typedef enum fe_caps {
FE_CAN_8VSB = 0x200000,
FE_CAN_16VSB = 0x400000,
FE_HAS_EXTENDED_CAPS = 0x800000, /* We need more bitspace for newer APIs, indicate this. */
+ FE_CAN_PSK_8 = 0x8000000, /* frontend supports "8psk modulation" */
FE_CAN_2G_MODULATION = 0x10000000, /* frontend supports "2nd generation modulation" (DVB-S2) */
FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */
FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */