Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f09fb530
Commit
f09fb530
authored
Nov 16, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (9641): Add chip ID's for em2820 and em2840
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
80297125
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-cards.c
+6
-0
drivers/media/video/em28xx/em28xx-reg.h
drivers/media/video/em28xx/em28xx-reg.h
+2
-0
No files found.
drivers/media/video/em28xx/em28xx-cards.c
View file @
f09fb530
...
...
@@ -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
;
...
...
drivers/media/video/em28xx/em28xx-reg.h
View file @
f09fb530
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment