V4L/DVB (9641): Add chip ID's for em2820 and em2840
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 16 Nov 2008 13:40:21 +0000 (10:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:34 +0000 (17:53 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-reg.h

index 28f64e0b0b4ba7509f62bac4a0f4e996e4a254d5..3d85017ad1479dba63dc8aacffb9c7d3a6f36ac1 100644 (file)
@@ -1355,6 +1355,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;
index b8e97836370f9c16cbfd5f8f223c255433007c63..6e5757caa48b26452dccf03bd35861856d0c58c1 100644 (file)
 
 /* 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,