summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 11:40:21 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 11:40:21 -0200
commit50766f4c30d4894525df9b6abbb0c6899a7718ee (patch)
tree51e3a0f73c675bcc285af92bf2daf9ddd2318506 /linux
parent61f1d19e2d553587888ac82441dc900ddbf30e8d (diff)
downloadmediapointer-dvb-s2-50766f4c30d4894525df9b6abbb0c6899a7718ee.tar.gz
mediapointer-dvb-s2-50766f4c30d4894525df9b6abbb0c6899a7718ee.tar.bz2
Add chip ID's for em2820 and em2840
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-cards.c6
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-reg.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 0d7862ec8..fcba8944c 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -1360,6 +1360,12 @@ void em28xx_pre_card_setup(struct em28xx *dev)
if (rc > 0) {
dev->chip_id = rc;
switch (rc) {
+ case CHIP_ID_EM2820:
+ em28xx_info("chip ID is em2820\n");
+ break;
+ case CHIP_ID_EM2840:
+ em28xx_info("chip ID is em2840\n");
+ break;
case CHIP_ID_EM2860:
em28xx_info("chip ID is em2860\n");
break;
diff --git a/linux/drivers/media/video/em28xx/em28xx-reg.h b/linux/drivers/media/video/em28xx/em28xx-reg.h
index b8e978363..6e5757caa 100644
--- a/linux/drivers/media/video/em28xx/em28xx-reg.h
+++ b/linux/drivers/media/video/em28xx/em28xx-reg.h
@@ -111,6 +111,8 @@
/* FIXME: Need to be populated with the other chip ID's */
enum em28xx_chip_id {
+ CHIP_ID_EM2820 = 18,
+ CHIP_ID_EM2840 = 20,
CHIP_ID_EM2860 = 34,
CHIP_ID_EM2883 = 36,
CHIP_ID_EM2874 = 65,