diff options
author | Andreas Oberritter <devnull@localhost> | 2003-04-20 20:58:08 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2003-04-20 20:58:08 +0000 |
commit | cd77464ee172f100ff25e8f31d1d8ded3edee67f (patch) | |
tree | d6088aa9ed904f957665a611ba687e1959035a15 /linux/drivers/media/dvb | |
parent | bbaa8cc354a80d0015364fe45dcfa971b00b563b (diff) | |
download | mediapointer-dvb-s2-cd77464ee172f100ff25e8f31d1d8ded3edee67f.tar.gz mediapointer-dvb-s2-cd77464ee172f100ff25e8f31d1d8ded3edee67f.tar.bz2 |
moved definition of XIN to top
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/frontends/ves1820.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/ves1820.c b/linux/drivers/media/dvb/frontends/ves1820.c index e44da992b..4e136f2c5 100644 --- a/linux/drivers/media/dvb/frontends/ves1820.c +++ b/linux/drivers/media/dvb/frontends/ves1820.c @@ -67,6 +67,9 @@ #define GET_TUNER(data) ((u8) (((int) data >> 16) & 0xff)) #define GET_DEMOD_ADDR(data) ((u8) (((int) data >> 24) & 0xff)) +#define XIN 57840000UL +#define FIN (XIN >> 4) + static @@ -76,8 +79,8 @@ struct dvb_frontend_info ves1820_info = { .frequency_stepsize = 62500, .frequency_min = 51000000, .frequency_max = 858000000, - .symbol_rate_min = (57840000/2)/64, /* SACLK/64 == (XIN/2)/64 */ - .symbol_rate_max = (57840000/2)/4, /* SACLK/4 */ + .symbol_rate_min = (XIN/2)/64, /* SACLK/64 == (XIN/2)/64 */ + .symbol_rate_max = (XIN/2)/4, /* SACLK/4 */ #if 0 frequency_tolerance: ???, symbol_rate_tolerance: ???, /* ppm */ /* == 8% (spec p. 5) */ @@ -247,9 +250,6 @@ int ves1820_set_symbolrate (struct dvb_frontend *fe, u32 symbolrate) u16 NDEC = 0; u32 tmp, ratio; -#define XIN 57840000UL -#define FIN (XIN >> 4) - if (symbolrate > XIN/2) symbolrate = XIN/2; |