summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-23 21:21:26 -0400
committerSteven Toth <stoth@linuxtv.org>2008-09-23 21:21:26 -0400
commitb5c6a451c061b83cfe6f69eb794646879afd7025 (patch)
tree9b7b5a5b90289f42af3090ed01b8d32f3fc66173
parente9b19e302a71575b6169c42f354cc5a9f98c5570 (diff)
downloadmediapointer-dvb-s2-b5c6a451c061b83cfe6f69eb794646879afd7025.tar.gz
mediapointer-dvb-s2-b5c6a451c061b83cfe6f69eb794646879afd7025.tar.bz2
S2API: Deactivate the ISDB-T definitions
From: Steven Toth <stoth@linuxtv.org> We don't want to push the ISDB-T definitions into the kernel until we have a high level of confidence in the ISDB-T API. More testing is required before this code is released. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c11
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.h3
-rw-r--r--linux/include/linux/dvb/frontend.h4
3 files changed, 12 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 98aaa1a65..5c1193524 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -840,6 +840,7 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_DELIVERY_SYSTEM,
.set = 1,
},
+#if 0
[DTV_ISDB_SEGMENT_IDX] = {
.name = "DTV_ISDB_SEGMENT_IDX",
.cmd = DTV_ISDB_SEGMENT_IDX,
@@ -850,7 +851,7 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_ISDB_SEGMENT_WIDTH,
.set = 1,
},
-
+#endif
/* Get */
[DTV_DISEQC_SLAVE_REPLY] = {
.name = "DTV_DISEQC_SLAVE_REPLY",
@@ -858,6 +859,7 @@ struct dtv_cmds_h dtv_cmds[] = {
.set = 0,
.buffer = 1,
},
+#if 0
[DTV_ISDB_LAYERA_FEC] = {
.name = "DTV_ISDB_LAYERA_FEC",
.cmd = DTV_ISDB_LAYERA_FEC,
@@ -903,6 +905,7 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_ISDB_LAYERC_SEGMENT_WIDTH,
.set = 0,
},
+#endif
};
void dtv_property_dump(struct dtv_property *tvp)
@@ -1165,7 +1168,7 @@ int dtv_property_process_get(struct dvb_frontend *fe, struct dtv_property *tvp,
case DTV_DELIVERY_SYSTEM:
tvp->u.data = fe->dtv_property_cache.delivery_system;
break;
-
+#if 0
/* ISDB-T Support here */
case DTV_ISDB_SEGMENT_IDX:
tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
@@ -1200,6 +1203,7 @@ int dtv_property_process_get(struct dvb_frontend *fe, struct dtv_property *tvp,
case DTV_ISDB_LAYERC_SEGMENT_WIDTH:
tvp->u.data = fe->dtv_property_cache.isdb_layerc_segment_width;
break;
+#endif
case DTV_VOLTAGE:
tvp->u.data = fe->dtv_property_cache.voltage;
break;
@@ -1277,7 +1281,7 @@ int dtv_property_process_set(struct dvb_frontend *fe, struct dtv_property *tvp,
case DTV_DELIVERY_SYSTEM:
fe->dtv_property_cache.delivery_system = tvp->u.data;
break;
-
+#if 0
/* ISDB-T Support here */
case DTV_ISDB_SEGMENT_IDX:
fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
@@ -1285,6 +1289,7 @@ int dtv_property_process_set(struct dvb_frontend *fe, struct dtv_property *tvp,
case DTV_ISDB_SEGMENT_WIDTH:
fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
break;
+#endif
case DTV_VOLTAGE:
fe->dtv_property_cache.voltage = tvp->u.data;
r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
index 2fa37f5a0..1207f29f2 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -209,7 +209,7 @@ struct dtv_frontend_properties {
fe_rolloff_t rolloff;
fe_delivery_system_t delivery_system;
-
+#if 0
/* ISDB-T specifics */
u32 isdb_segment_idx;
u32 isdb_segment_width;
@@ -222,6 +222,7 @@ struct dtv_frontend_properties {
fe_code_rate_t isdb_layerc_fec;
fe_modulation_t isdb_layerc_modulation;
u32 isdb_layerc_segment_width;
+#endif
};
struct dvb_frontend {
diff --git a/linux/include/linux/dvb/frontend.h b/linux/include/linux/dvb/frontend.h
index 71f25f5bf..6793deada 100644
--- a/linux/include/linux/dvb/frontend.h
+++ b/linux/include/linux/dvb/frontend.h
@@ -280,7 +280,7 @@ typedef enum dtv_cmd_types {
/* New commands are always appended */
DTV_DELIVERY_SYSTEM,
-
+#if 0
/* ISDB */
/* maybe a dup of DTV_ISDB_SOUND_BROADCASTING_SUBCHANNEL_ID ??? */
DTV_ISDB_SEGMENT_IDX,
@@ -309,7 +309,7 @@ typedef enum dtv_cmd_types {
DTV_ISDB_LAYERC_MODULATION,
DTV_ISDB_LAYERC_SEGMENT_WIDTH,
DTV_ISDB_LAYERC_TIME_INTERLEAVING,
-
+#endif
} dtv_cmd_types_t;
typedef enum fe_pilot {