aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-11-12 09:21:05 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:21 -0500
commitf57b17c3956f2e1e70f63dd2ed8088b582f3915e (patch)
treefe50036121641128d2272292511ec4182c1a6244 /drivers/media/video/em28xx
parentfc099f0e0e52a349a3fe92bfb8d3fb6ec5378174 (diff)
V4L/DVB (13328): em28xx: Add chip ID for em2800
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c3
-rw-r--r--drivers/media/video/em28xx/em28xx-reg.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 1e1937070738..00bceb865a7c 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -2532,6 +2532,9 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
2532 dev->chip_id = retval; 2532 dev->chip_id = retval;
2533 2533
2534 switch (dev->chip_id) { 2534 switch (dev->chip_id) {
2535 case CHIP_ID_EM2800:
2536 em28xx_info("chip ID is em2800\n");
2537 break;
2535 case CHIP_ID_EM2710: 2538 case CHIP_ID_EM2710:
2536 em28xx_info("chip ID is em2710\n"); 2539 em28xx_info("chip ID is em2710\n");
2537 break; 2540 break;
diff --git a/drivers/media/video/em28xx/em28xx-reg.h b/drivers/media/video/em28xx/em28xx-reg.h
index ed12e7ffcbd0..058ac87639ce 100644
--- a/drivers/media/video/em28xx/em28xx-reg.h
+++ b/drivers/media/video/em28xx/em28xx-reg.h
@@ -192,6 +192,7 @@
192 192
193/* FIXME: Need to be populated with the other chip ID's */ 193/* FIXME: Need to be populated with the other chip ID's */
194enum em28xx_chip_id { 194enum em28xx_chip_id {
195 CHIP_ID_EM2800 = 7,
195 CHIP_ID_EM2710 = 17, 196 CHIP_ID_EM2710 = 17,
196 CHIP_ID_EM2820 = 18, /* Also used by some em2710 */ 197 CHIP_ID_EM2820 = 18, /* Also used by some em2710 */
197 CHIP_ID_EM2840 = 20, 198 CHIP_ID_EM2840 = 20,