Skip to content

Commit

Permalink
V4L/DVB (9641): Add chip ID's for em2820 and em2840
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 29, 2008
1 parent 8029712 commit f09fb53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/video/em28xx/em28xx-reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f09fb53

Please sign in to comment.