diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/drxk_hard.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c index 91f3296917fa..0d288a7f0163 100644 --- a/drivers/media/dvb/frontends/drxk_hard.c +++ b/drivers/media/dvb/frontends/drxk_hard.c | |||
@@ -905,6 +905,7 @@ static int GetDeviceCapabilities(struct drxk_state *state) | |||
905 | u16 sioPdrOhwCfg = 0; | 905 | u16 sioPdrOhwCfg = 0; |
906 | u32 sioTopJtagidLo = 0; | 906 | u32 sioTopJtagidLo = 0; |
907 | int status; | 907 | int status; |
908 | const char *spin = ""; | ||
908 | 909 | ||
909 | dprintk(1, "\n"); | 910 | dprintk(1, "\n"); |
910 | 911 | ||
@@ -954,12 +955,15 @@ static int GetDeviceCapabilities(struct drxk_state *state) | |||
954 | switch ((sioTopJtagidLo >> 29) & 0xF) { | 955 | switch ((sioTopJtagidLo >> 29) & 0xF) { |
955 | case 0: | 956 | case 0: |
956 | state->m_deviceSpin = DRXK_SPIN_A1; | 957 | state->m_deviceSpin = DRXK_SPIN_A1; |
958 | spin = "A1"; | ||
957 | break; | 959 | break; |
958 | case 2: | 960 | case 2: |
959 | state->m_deviceSpin = DRXK_SPIN_A2; | 961 | state->m_deviceSpin = DRXK_SPIN_A2; |
962 | spin = "A2"; | ||
960 | break; | 963 | break; |
961 | case 3: | 964 | case 3: |
962 | state->m_deviceSpin = DRXK_SPIN_A3; | 965 | state->m_deviceSpin = DRXK_SPIN_A3; |
966 | spin = "A3"; | ||
963 | break; | 967 | break; |
964 | default: | 968 | default: |
965 | state->m_deviceSpin = DRXK_SPIN_UNKNOWN; | 969 | state->m_deviceSpin = DRXK_SPIN_UNKNOWN; |
@@ -1079,6 +1083,12 @@ static int GetDeviceCapabilities(struct drxk_state *state) | |||
1079 | goto error2; | 1083 | goto error2; |
1080 | } | 1084 | } |
1081 | 1085 | ||
1086 | printk(KERN_INFO | ||
1087 | "drxk: detected a drx-39%02xk, spin %s, xtal %d.%03d MHz\n", | ||
1088 | ((sioTopJtagidLo >> 12) & 0xFF), spin, | ||
1089 | state->m_oscClockFreq / 1000, | ||
1090 | state->m_oscClockFreq % 1000); | ||
1091 | |||
1082 | error: | 1092 | error: |
1083 | if (status < 0) | 1093 | if (status < 0) |
1084 | printk(KERN_ERR "drxk: Error %d on %s\n", status, __func__); | 1094 | printk(KERN_ERR "drxk: Error %d on %s\n", status, __func__); |