Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
9fc20f03
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9fc20f03
编写于
5月 14, 2009
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ALSA: ctxfi - Move PCI ID definitions to linux/pci_ids.h
Signed-off-by:
N
Takashi Iwai
<
tiwai@suse.de
>
上级
d0da727e
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
19 addition
and
41 deletion
+19
-41
include/linux/pci_ids.h
include/linux/pci_ids.h
+7
-0
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctatc.c
+9
-8
sound/pci/ctxfi/ctdrv.h
sound/pci/ctxfi/ctdrv.h
+0
-30
sound/pci/ctxfi/xfi.c
sound/pci/ctxfi/xfi.c
+3
-3
未找到文件。
include/linux/pci_ids.h
浏览文件 @
9fc20f03
...
...
@@ -1314,6 +1314,13 @@
#define PCI_VENDOR_ID_CREATIVE 0x1102
/* duplicate: ECTIVA */
#define PCI_DEVICE_ID_CREATIVE_EMU10K1 0x0002
#define PCI_DEVICE_ID_CREATIVE_20K1 0x0005
#define PCI_DEVICE_ID_CREATIVE_20K2 0x000b
#define PCI_SUBDEVICE_ID_CREATIVE_SB0760 0x0024
#define PCI_SUBDEVICE_ID_CREATIVE_SB08801 0x0041
#define PCI_SUBDEVICE_ID_CREATIVE_SB08802 0x0042
#define PCI_SUBDEVICE_ID_CREATIVE_SB08803 0x0043
#define PCI_SUBDEVICE_ID_CREATIVE_HENDRIX 0x6000
#define PCI_VENDOR_ID_ECTIVA 0x1102
/* duplicate: CREATIVE */
#define PCI_DEVICE_ID_ECTIVA_EV1938 0x8938
...
...
sound/pci/ctxfi/ctatc.c
浏览文件 @
9fc20f03
...
...
@@ -18,7 +18,6 @@
#include "ctatc.h"
#include "ctpcm.h"
#include "ctmixer.h"
#include "ctdrv.h"
#include "cthardware.h"
#include "ctsrc.h"
#include "ctamixer.h"
...
...
@@ -40,23 +39,25 @@
| ((IEC958_AES3_CON_FS_48000) << 24))
static
const
struct
ct_atc_chip_sub_details
atc_sub_details
[
NUM_CTCARDS
]
=
{
[
CTSB0760
]
=
{.
subsys
=
PCI_SUB
SYS
_CREATIVE_SB0760
,
[
CTSB0760
]
=
{.
subsys
=
PCI_SUB
DEVICE_ID
_CREATIVE_SB0760
,
.
nm_model
=
"SB076x"
},
[
CTHENDRIX
]
=
{.
subsys
=
PCI_SUB
SYS
_CREATIVE_HENDRIX
,
[
CTHENDRIX
]
=
{.
subsys
=
PCI_SUB
DEVICE_ID
_CREATIVE_HENDRIX
,
.
nm_model
=
"Hendrix"
},
[
CTSB08801
]
=
{.
subsys
=
PCI_SUB
SYS
_CREATIVE_SB08801
,
[
CTSB08801
]
=
{.
subsys
=
PCI_SUB
DEVICE_ID
_CREATIVE_SB08801
,
.
nm_model
=
"SB0880"
},
[
CTSB08802
]
=
{.
subsys
=
PCI_SUB
SYS
_CREATIVE_SB08802
,
[
CTSB08802
]
=
{.
subsys
=
PCI_SUB
DEVICE_ID
_CREATIVE_SB08802
,
.
nm_model
=
"SB0880"
},
[
CTSB08803
]
=
{.
subsys
=
PCI_SUB
SYS
_CREATIVE_SB08803
,
[
CTSB08803
]
=
{.
subsys
=
PCI_SUB
DEVICE_ID
_CREATIVE_SB08803
,
.
nm_model
=
"SB0880"
}
};
static
struct
ct_atc_chip_details
atc_chip_details
[]
=
{
{.
vendor
=
PCI_VENDOR_CREATIVE
,
.
device
=
PCI_DEVICE_CREATIVE_20K1
,
{.
vendor
=
PCI_VENDOR_ID_CREATIVE
,
.
device
=
PCI_DEVICE_ID_CREATIVE_20K1
,
.
sub_details
=
NULL
,
.
nm_card
=
"X-Fi 20k1"
},
{.
vendor
=
PCI_VENDOR_CREATIVE
,
.
device
=
PCI_DEVICE_CREATIVE_20K2
,
{.
vendor
=
PCI_VENDOR_ID_CREATIVE
,
.
device
=
PCI_DEVICE_ID_CREATIVE_20K2
,
.
sub_details
=
atc_sub_details
,
.
nm_card
=
"X-Fi 20k2"
},
{}
/* terminator */
...
...
sound/pci/ctxfi/ctdrv.h
已删除
100644 → 0
浏览文件 @
d0da727e
/**
* Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
*
* This source file is released under GPL v2 license (no other versions).
* See the COPYING file included in the main directory of this source
* distribution for the license terms and conditions.
*
* @file ctdrv.h
*
* @breaf
* This file contains the definition of card IDs supported by this driver.
*
* @author Liu Chun
*
*/
#ifndef CTDRV_H
#define CTDRV_H
#define PCI_VENDOR_CREATIVE 0x1102
#define PCI_DEVICE_CREATIVE_20K1 0x0005
#define PCI_DEVICE_CREATIVE_20K2 0x000B
#define PCI_SUBVENDOR_CREATIVE 0x1102
#define PCI_SUBSYS_CREATIVE_SB0760 0x0024
#define PCI_SUBSYS_CREATIVE_SB08801 0x0041
#define PCI_SUBSYS_CREATIVE_SB08802 0x0042
#define PCI_SUBSYS_CREATIVE_SB08803 0x0043
#define PCI_SUBSYS_CREATIVE_HENDRIX 0x6000
#endif
/* CTDRV_H */
sound/pci/ctxfi/xfi.c
浏览文件 @
9fc20f03
...
...
@@ -11,10 +11,10 @@
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/moduleparam.h>
#include <linux/pci_ids.h>
#include <sound/core.h>
#include <sound/initval.h>
#include "ctatc.h"
#include "ctdrv.h"
MODULE_AUTHOR
(
"Creative Technology Ltd"
);
MODULE_DESCRIPTION
(
"X-Fi driver version 1.03"
);
...
...
@@ -32,8 +32,8 @@ static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
static
struct
pci_device_id
ct_pci_dev_ids
[]
=
{
/* only X-Fi is supported, so... */
{
PCI_DEVICE
(
PCI_VENDOR_
CREATIVE
,
PCI_DEVICE
_CREATIVE_20K1
)
},
{
PCI_DEVICE
(
PCI_VENDOR_
CREATIVE
,
PCI_DEVICE
_CREATIVE_20K2
)
},
{
PCI_DEVICE
(
PCI_VENDOR_
ID_CREATIVE
,
PCI_DEVICE_ID
_CREATIVE_20K1
)
},
{
PCI_DEVICE
(
PCI_VENDOR_
ID_CREATIVE
,
PCI_DEVICE_ID
_CREATIVE_20K2
)
},
{
0
,
}
};
MODULE_DEVICE_TABLE
(
pci
,
ct_pci_dev_ids
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录