The patch number 8997 was added via Steven Toth <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Steven Toth  <[EMAIL PROTECTED]>
S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FEC


This is now consistent with the existing API.

Priority: normal

Signed-off-by: Steven Toth <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/dvb-core/dvb_frontend.c |   36 ++++++++--------
 linux/include/linux/dvb/frontend.h              |    8 +--
 2 files changed, 22 insertions(+), 22 deletions(-)

diff -r cb68373b595b -r 88531e413e19 
linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c   Thu Sep 11 09:23:01 
2008 -0400
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c   Thu Sep 11 09:34:19 
2008 -0400
@@ -805,14 +805,14 @@ struct dtv_cmds_h dtv_cmds[] = {
                .set    = 1,
                .buffer = 1,
        },
-       [DTV_SET_SYMBOLRATE] = {
-               .name   = "DTV_SET_SYMBOLRATE",
-               .cmd    = DTV_SET_SYMBOLRATE,
+       [DTV_SET_SYMBOL_RATE] = {
+               .name   = "DTV_SET_SYMBOL_RATE",
+               .cmd    = DTV_SET_SYMBOL_RATE,
                .set    = 1,
        },
-       [DTV_SET_INNERFEC] = {
-               .name   = "DTV_SET_INNERFEC",
-               .cmd    = DTV_SET_INNERFEC,
+       [DTV_SET_INNER_FEC] = {
+               .name   = "DTV_SET_INNER_FEC",
+               .cmd    = DTV_SET_INNER_FEC,
                .set    = 1,
        },
        [DTV_SET_VOLTAGE] = {
@@ -878,14 +878,14 @@ struct dtv_cmds_h dtv_cmds[] = {
                .set    = 0,
                .buffer = 1,
        },
-       [DTV_GET_SYMBOLRATE] = {
-               .name   = "DTV_GET_SYMBOLRATE",
-               .cmd    = DTV_GET_SYMBOLRATE,
-               .set    = 0,
-       },
-       [DTV_GET_INNERFEC] = {
-               .name   = "DTV_GET_INNERFEC",
-               .cmd    = DTV_GET_INNERFEC,
+       [DTV_GET_SYMBOL_RATE] = {
+               .name   = "DTV_GET_SYMBOL_RATE",
+               .cmd    = DTV_GET_SYMBOL_RATE,
+               .set    = 0,
+       },
+       [DTV_GET_INNER_FEC] = {
+               .name   = "DTV_GET_INNER_FEC",
+               .cmd    = DTV_GET_INNER_FEC,
                .set    = 0,
        },
        [DTV_GET_VOLTAGE] = {
@@ -1212,16 +1212,16 @@ int dtv_property_process(struct dvb_fron
        case DTV_GET_INVERSION:
                tvp->u.data = fe->dtv_property_cache.inversion;
                break;
-       case DTV_SET_SYMBOLRATE:
+       case DTV_SET_SYMBOL_RATE:
                fe->dtv_property_cache.symbol_rate = tvp->u.data;
                break;
-       case DTV_GET_SYMBOLRATE:
+       case DTV_GET_SYMBOL_RATE:
                tvp->u.data = fe->dtv_property_cache.symbol_rate;
                break;
-       case DTV_SET_INNERFEC:
+       case DTV_SET_INNER_FEC:
                fe->dtv_property_cache.fec_inner = tvp->u.data;
                break;
-       case DTV_GET_INNERFEC:
+       case DTV_GET_INNER_FEC:
                tvp->u.data = fe->dtv_property_cache.fec_inner;
                break;
        case DTV_SET_PILOT:
diff -r cb68373b595b -r 88531e413e19 linux/include/linux/dvb/frontend.h
--- a/linux/include/linux/dvb/frontend.h        Thu Sep 11 09:23:01 2008 -0400
+++ b/linux/include/linux/dvb/frontend.h        Thu Sep 11 09:34:19 2008 -0400
@@ -259,8 +259,8 @@ typedef enum dtv_cmd_types {
        DTV_SET_BANDWIDTH,
        DTV_SET_INVERSION,
        DTV_SET_DISEQC_MASTER,
-       DTV_SET_SYMBOLRATE,
-       DTV_SET_INNERFEC,
+       DTV_SET_SYMBOL_RATE,
+       DTV_SET_INNER_FEC,
        DTV_SET_VOLTAGE,
        DTV_SET_TONE,
        DTV_SET_PILOT,
@@ -271,8 +271,8 @@ typedef enum dtv_cmd_types {
        DTV_GET_BANDWIDTH,
        DTV_GET_INVERSION,
        DTV_GET_DISEQC_SLAVE_REPLY,
-       DTV_GET_SYMBOLRATE,
-       DTV_GET_INNERFEC,
+       DTV_GET_SYMBOL_RATE,
+       DTV_GET_INNER_FEC,
        DTV_GET_VOLTAGE,
        DTV_GET_TONE,
        DTV_GET_PILOT,


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/88531e413e193140fc8f4c6e5ec7b65eb6876ea5

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to