summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
diff options
context:
space:
mode:
authorAlex Woods <devnull@localhost>2004-01-11 23:56:58 +0000
committerAlex Woods <devnull@localhost>2004-01-11 23:56:58 +0000
commitfc767c03efb63f2b1ad11d143bbe033a551250f5 (patch)
treebd4fafde79dbbc02646587874387641a60abc654 /linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
parentb1f5f57df537b3be3260e781d12d3507e2be48a2 (diff)
downloadmediapointer-dvb-s2-fc767c03efb63f2b1ad11d143bbe033a551250f5.tar.gz
mediapointer-dvb-s2-fc767c03efb63f2b1ad11d143bbe033a551250f5.tar.bz2
Add model number returned from DEC2540-t firmware.
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index fd94d1e89..b2df5535f 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1234,9 +1234,12 @@ static int ttusb_dec_init_stb(struct ttusb_dec *dec)
case 0x00070009:
ttusb_dec_set_model(dec, TTUSB_DEC2000T);
break;
+ case 0x00070011:
+ ttusb_dec_set_model(dec, TTUSB_DEC2540T);
+ break;
default:
printk(KERN_ERR "%s: unknown model returned "
- "by firmware (%04x) - please report\n",
+ "by firmware (%08x) - please report\n",
__FUNCTION__, model);
return -1;
break;