Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113986
b: refs/heads/master
c: 8316568
h: refs/heads/master
v: v3
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 4d86efe commit f93dbad
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 143 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc6e8c284bcb23ac7a576b7959803168398e390a
refs/heads/master: 8316568930074723bdc47d6777f822be0422a5b7
99 changes: 0 additions & 99 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,69 +829,13 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_DELIVERY_SYSTEM,
.set = 1,
},
[DTV_ISDB_SEGMENT_IDX] = {
.name = "DTV_ISDB_SEGMENT_IDX",
.cmd = DTV_ISDB_SEGMENT_IDX,
.set = 1,
},
[DTV_ISDB_SEGMENT_WIDTH] = {
.name = "DTV_ISDB_SEGMENT_WIDTH",
.cmd = DTV_ISDB_SEGMENT_WIDTH,
.set = 1,
},

/* Get */
[DTV_DISEQC_SLAVE_REPLY] = {
.name = "DTV_DISEQC_SLAVE_REPLY",
.cmd = DTV_DISEQC_SLAVE_REPLY,
.set = 0,
.buffer = 1,
},
[DTV_ISDB_LAYERA_FEC] = {
.name = "DTV_ISDB_LAYERA_FEC",
.cmd = DTV_ISDB_LAYERA_FEC,
.set = 0,
},
[DTV_ISDB_LAYERA_MODULATION] = {
.name = "DTV_ISDB_LAYERA_MODULATION",
.cmd = DTV_ISDB_LAYERA_MODULATION,
.set = 0,
},
[DTV_ISDB_LAYERA_SEGMENT_WIDTH] = {
.name = "DTV_ISDB_LAYERA_SEGMENT_WIDTH",
.cmd = DTV_ISDB_LAYERA_SEGMENT_WIDTH,
.set = 0,
},
[DTV_ISDB_LAYERB_FEC] = {
.name = "DTV_ISDB_LAYERB_FEC",
.cmd = DTV_ISDB_LAYERB_FEC,
.set = 0,
},
[DTV_ISDB_LAYERB_MODULATION] = {
.name = "DTV_ISDB_LAYERB_MODULATION",
.cmd = DTV_ISDB_LAYERB_MODULATION,
.set = 0,
},
[DTV_ISDB_LAYERB_SEGMENT_WIDTH] = {
.name = "DTV_ISDB_LAYERB_SEGMENT_WIDTH",
.cmd = DTV_ISDB_LAYERB_SEGMENT_WIDTH,
.set = 0,
},
[DTV_ISDB_LAYERC_FEC] = {
.name = "DTV_ISDB_LAYERC_FEC",
.cmd = DTV_ISDB_LAYERC_FEC,
.set = 0,
},
[DTV_ISDB_LAYERC_MODULATION] = {
.name = "DTV_ISDB_LAYERC_MODULATION",
.cmd = DTV_ISDB_LAYERC_MODULATION,
.set = 0,
},
[DTV_ISDB_LAYERC_SEGMENT_WIDTH] = {
.name = "DTV_ISDB_LAYERC_SEGMENT_WIDTH",
.cmd = DTV_ISDB_LAYERC_SEGMENT_WIDTH,
.set = 0,
},
};

void dtv_property_dump(struct dtv_property *tvp)
Expand Down Expand Up @@ -1154,41 +1098,6 @@ 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;

/* ISDB-T Support here */
case DTV_ISDB_SEGMENT_IDX:
tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
break;
case DTV_ISDB_SEGMENT_WIDTH:
tvp->u.data = fe->dtv_property_cache.isdb_segment_width;
break;
case DTV_ISDB_LAYERA_FEC:
tvp->u.data = fe->dtv_property_cache.isdb_layera_fec;
break;
case DTV_ISDB_LAYERA_MODULATION:
tvp->u.data = fe->dtv_property_cache.isdb_layera_modulation;
break;
case DTV_ISDB_LAYERA_SEGMENT_WIDTH:
tvp->u.data = fe->dtv_property_cache.isdb_layera_segment_width;
break;
case DTV_ISDB_LAYERB_FEC:
tvp->u.data = fe->dtv_property_cache.isdb_layerb_fec;
break;
case DTV_ISDB_LAYERB_MODULATION:
tvp->u.data = fe->dtv_property_cache.isdb_layerb_modulation;
break;
case DTV_ISDB_LAYERB_SEGMENT_WIDTH:
tvp->u.data = fe->dtv_property_cache.isdb_layerb_segment_width;
break;
case DTV_ISDB_LAYERC_FEC:
tvp->u.data = fe->dtv_property_cache.isdb_layerc_fec;
break;
case DTV_ISDB_LAYERC_MODULATION:
tvp->u.data = fe->dtv_property_cache.isdb_layerc_modulation;
break;
case DTV_ISDB_LAYERC_SEGMENT_WIDTH:
tvp->u.data = fe->dtv_property_cache.isdb_layerc_segment_width;
break;
case DTV_VOLTAGE:
tvp->u.data = fe->dtv_property_cache.voltage;
break;
Expand Down Expand Up @@ -1266,14 +1175,6 @@ 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;

/* ISDB-T Support here */
case DTV_ISDB_SEGMENT_IDX:
fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
break;
case DTV_ISDB_SEGMENT_WIDTH:
fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
break;
case DTV_VOLTAGE:
fe->dtv_property_cache.voltage = tvp->u.data;
r = dvb_frontend_ioctl_legacy(inode, file, FE_SET_VOLTAGE,
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,19 +209,6 @@ struct dtv_frontend_properties {
fe_rolloff_t rolloff;

fe_delivery_system_t delivery_system;

/* ISDB-T specifics */
u32 isdb_segment_idx;
u32 isdb_segment_width;
fe_code_rate_t isdb_layera_fec;
fe_modulation_t isdb_layera_modulation;
u32 isdb_layera_segment_width;
fe_code_rate_t isdb_layerb_fec;
fe_modulation_t isdb_layerb_modulation;
u32 isdb_layerb_segment_width;
fe_code_rate_t isdb_layerc_fec;
fe_modulation_t isdb_layerc_modulation;
u32 isdb_layerc_segment_width;
};

struct dvb_frontend {
Expand Down
30 changes: 0 additions & 30 deletions trunk/include/linux/dvb/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,36 +280,6 @@ typedef enum dtv_cmd_types {

/* New commands are always appended */
DTV_DELIVERY_SYSTEM,

/* ISDB */
/* maybe a dup of DTV_ISDB_SOUND_BROADCASTING_SUBCHANNEL_ID ??? */
DTV_ISDB_SEGMENT_IDX,
DTV_ISDB_SEGMENT_WIDTH, /* 1, 3 or 13 ??? */

/* the central segment can be received independently or 1/3 seg in SB-mode */
DTV_ISDB_PARTIAL_RECEPTION,
/* sound broadcasting is used 0 = 13segment, 1 = 1 or 3 see DTV_ISDB_PARTIAL_RECEPTION */
DTV_ISDB_SOUND_BROADCASTING,

/* only used in SB */
/* determines the initial PRBS of the segment (to match with 13seg channel) */
DTV_ISDB_SOUND_BROADCASTING_SUBCHANNEL_ID,

DTV_ISDB_LAYERA_FEC,
DTV_ISDB_LAYERA_MODULATION,
DTV_ISDB_LAYERA_SEGMENT_WIDTH,
DTV_ISDB_LAYERA_TIME_INTERLEAVER,

DTV_ISDB_LAYERB_FEC,
DTV_ISDB_LAYERB_MODULATION,
DTV_ISDB_LAYERB_SEGMENT_WIDTH,
DTV_ISDB_LAYERB_TIME_INTERLEAVING,

DTV_ISDB_LAYERC_FEC,
DTV_ISDB_LAYERC_MODULATION,
DTV_ISDB_LAYERC_SEGMENT_WIDTH,
DTV_ISDB_LAYERC_TIME_INTERLEAVING,

} dtv_cmd_types_t;

typedef enum fe_pilot {
Expand Down

0 comments on commit f93dbad

Please sign in to comment.