Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c85cba3f
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c85cba3f
编写于
7月 19, 2007
作者:
M
Mauro Carvalho Chehab
提交者:
Mauro Carvalho Chehab
5月 18, 2010
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V4L/DVB (12781): tm6000: Start adding support for GPIO device-specific parameters
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
4f44dcec
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
4 deletion
+17
-4
drivers/staging/tm6000/tm6000-cards.c
drivers/staging/tm6000/tm6000-cards.c
+10
-1
drivers/staging/tm6000/tm6000.h
drivers/staging/tm6000/tm6000.h
+7
-3
未找到文件。
drivers/staging/tm6000/tm6000-cards.c
浏览文件 @
c85cba3f
...
...
@@ -28,6 +28,7 @@
#include <media/tuner.h>
#include "tm6000.h"
#include "tm6000-regs.h"
#define TM6000_BOARD_UNKNOWN 0
#define TM5600_BOARD_GENERIC 1
...
...
@@ -43,6 +44,7 @@ static unsigned int card[] = {[0 ... (TM6000_MAXBOARDS - 1)] = UNSET };
module_param_array
(
card
,
int
,
NULL
,
0444
);
struct
tm6000_board
{
char
*
name
;
...
...
@@ -50,6 +52,8 @@ struct tm6000_board {
int
tuner_type
;
/* type of the tuner */
int
tuner_addr
;
/* tuner address */
int
gpio_addr_tun_reset
;
/* GPIO used for reset tuner */
};
...
...
@@ -59,6 +63,7 @@ struct tm6000_board tm6000_boards[] = {
.
caps
=
{
.
has_tuner
=
1
,
},
.
gpio_addr_tun_reset
=
TM6000_GPIO_1
,
},
[
TM5600_BOARD_GENERIC
]
=
{
.
name
=
"Generic tm5600 board"
,
...
...
@@ -67,6 +72,7 @@ struct tm6000_board tm6000_boards[] = {
.
caps
=
{
.
has_tuner
=
1
,
},
.
gpio_addr_tun_reset
=
TM6000_GPIO_1
,
},
[
TM6000_BOARD_GENERIC
]
=
{
.
name
=
"Generic tm6000 board"
,
...
...
@@ -76,6 +82,7 @@ struct tm6000_board tm6000_boards[] = {
.
has_tuner
=
1
,
.
has_dvb
=
1
,
},
.
gpio_addr_tun_reset
=
TM6000_GPIO_1
,
},
[
TM5600_BOARD_10MOONS_UT821
]
=
{
.
name
=
"10Moons UT 821"
,
...
...
@@ -85,6 +92,7 @@ struct tm6000_board tm6000_boards[] = {
.
has_tuner
=
1
,
.
has_eeprom
=
1
,
},
.
gpio_addr_tun_reset
=
TM6000_GPIO_1
,
},
[
TM6000_BOARD_10MOONS_UT330
]
=
{
.
name
=
"10Moons UT 330"
,
...
...
@@ -96,6 +104,7 @@ struct tm6000_board tm6000_boards[] = {
.
has_zl10353
=
1
,
.
has_eeprom
=
1
,
},
.
gpio_addr_tun_reset
=
TM6000_GPIO_4
,
},
[
TM6000_BOARD_ADSTECH_DUAL_TV
]
=
{
.
name
=
"ADSTECH Dual TV USB"
,
...
...
@@ -127,7 +136,7 @@ struct tm6000_board tm6000_boards[] = {
struct
usb_device_id
tm6000_id_table
[]
=
{
{
USB_DEVICE
(
0x6000
,
0x0001
),
.
driver_info
=
TM5600_BOARD_10MOONS_UT821
},
{
USB_DEVICE
(
0x06e1
,
0xf332
),
.
driver_info
=
TM6000_BOARD_ADSTECH_DUAL_TV
},
{
USB_DEVICE
(
0x14aa
,
0x620
),
.
driver_info
=
TM6000_BOARD_FREECOM_AND_SIMILAR
},
{
USB_DEVICE
(
0x14aa
,
0x
0
620
),
.
driver_info
=
TM6000_BOARD_FREECOM_AND_SIMILAR
},
{
},
};
...
...
drivers/staging/tm6000/tm6000.h
浏览文件 @
c85cba3f
...
...
@@ -30,9 +30,13 @@
#define TM6000_VERSION KERNEL_VERSION(0, 0, 1)
/* Inputs */
#define TM6000_INPUT_TV 0
#define TM6000_INPUT_COMPOSITE 1
#define TM6000_INPUT_SVIDEO 2
enum
tm6000_itype
{
TM6000_INPUT_TV
=
0
,
TM6000_INPUT_COMPOSITE
,
TM6000_INPUT_SVIDEO
,
};
/* ------------------------------------------------------------------
Basic structures
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录