Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
1967b7ff
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
1967b7ff
编写于
2月 03, 2008
作者:
J
Joe Perches
提交者:
Adrian Bunk
2月 03, 2008
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drivers/ata/: Spelling fixes
Signed-off-by:
N
Joe Perches
<
joe@perches.com
>
Signed-off-by:
N
Adrian Bunk
<
bunk@kernel.org
>
上级
aee07ba6
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
7 deletion
+7
-7
drivers/ata/ata_piix.c
drivers/ata/ata_piix.c
+1
-1
drivers/ata/libata-core.c
drivers/ata/libata-core.c
+1
-1
drivers/ata/pata_at32.c
drivers/ata/pata_at32.c
+1
-1
drivers/ata/pata_efar.c
drivers/ata/pata_efar.c
+1
-1
drivers/ata/pata_it8213.c
drivers/ata/pata_it8213.c
+1
-1
drivers/ata/pata_sis.c
drivers/ata/pata_sis.c
+2
-2
未找到文件。
drivers/ata/ata_piix.c
浏览文件 @
1967b7ff
...
@@ -837,7 +837,7 @@ static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev)
...
@@ -837,7 +837,7 @@ static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev)
if
(
is_slave
)
{
if
(
is_slave
)
{
/* clear TIME1|IE1|PPE1|DTE1 */
/* clear TIME1|IE1|PPE1|DTE1 */
master_data
&=
0xff0f
;
master_data
&=
0xff0f
;
/* Enable SITRE (sep
e
rate slave timing register) */
/* Enable SITRE (sep
a
rate slave timing register) */
master_data
|=
0x4000
;
master_data
|=
0x4000
;
/* enable PPE1, IE1 and TIME1 as needed */
/* enable PPE1, IE1 and TIME1 as needed */
master_data
|=
(
control
<<
4
);
master_data
|=
(
control
<<
4
);
...
...
drivers/ata/libata-core.c
浏览文件 @
1967b7ff
...
@@ -3097,7 +3097,7 @@ static int ata_dev_set_mode(struct ata_device *dev)
...
@@ -3097,7 +3097,7 @@ static int ata_dev_set_mode(struct ata_device *dev)
/**
/**
* ata_do_set_mode - Program timings and issue SET FEATURES - XFER
* ata_do_set_mode - Program timings and issue SET FEATURES - XFER
* @link: link on which timings will be programmed
* @link: link on which timings will be programmed
* @r_failed_dev: out paramter for failed device
* @r_failed_dev: out param
e
ter for failed device
*
*
* Standard implementation of the function used to tune and set
* Standard implementation of the function used to tune and set
* ATA device disk transfer mode (PIO3, UDMA6, etc.). If
* ATA device disk transfer mode (PIO3, UDMA6, etc.). If
...
...
drivers/ata/pata_at32.c
浏览文件 @
1967b7ff
...
@@ -324,7 +324,7 @@ static int __init pata_at32_probe(struct platform_device *pdev)
...
@@ -324,7 +324,7 @@ static int __init pata_at32_probe(struct platform_device *pdev)
if
(
irq
<
0
)
if
(
irq
<
0
)
return
irq
;
return
irq
;
/* Setup struct containing private infomation */
/* Setup struct containing private info
r
mation */
info
=
kzalloc
(
sizeof
(
struct
at32_ide_info
),
GFP_KERNEL
);
info
=
kzalloc
(
sizeof
(
struct
at32_ide_info
),
GFP_KERNEL
);
if
(
!
info
)
if
(
!
info
)
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
drivers/ata/pata_efar.c
浏览文件 @
1967b7ff
...
@@ -135,7 +135,7 @@ static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev)
...
@@ -135,7 +135,7 @@ static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev)
idetm_data
&=
0xCC0F
;
idetm_data
&=
0xCC0F
;
idetm_data
|=
(
control
<<
4
);
idetm_data
|=
(
control
<<
4
);
/* Slave timing in sep
e
rate register */
/* Slave timing in sep
a
rate register */
pci_read_config_byte
(
dev
,
0x44
,
&
slave_data
);
pci_read_config_byte
(
dev
,
0x44
,
&
slave_data
);
slave_data
&=
0x0F
<<
shift
;
slave_data
&=
0x0F
<<
shift
;
slave_data
|=
((
timings
[
pio
][
0
]
<<
2
)
|
timings
[
pio
][
1
])
<<
shift
;
slave_data
|=
((
timings
[
pio
][
0
]
<<
2
)
|
timings
[
pio
][
1
])
<<
shift
;
...
...
drivers/ata/pata_it8213.c
浏览文件 @
1967b7ff
...
@@ -128,7 +128,7 @@ static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
...
@@ -128,7 +128,7 @@ static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
idetm_data
&=
0xCC0F
;
idetm_data
&=
0xCC0F
;
idetm_data
|=
(
control
<<
4
);
idetm_data
|=
(
control
<<
4
);
/* Slave timing in sep
e
rate register */
/* Slave timing in sep
a
rate register */
pci_read_config_byte
(
dev
,
0x44
,
&
slave_data
);
pci_read_config_byte
(
dev
,
0x44
,
&
slave_data
);
slave_data
&=
0xF0
;
slave_data
&=
0xF0
;
slave_data
|=
((
timings
[
pio
][
0
]
<<
2
)
|
timings
[
pio
][
1
])
<<
4
;
slave_data
|=
((
timings
[
pio
][
0
]
<<
2
)
|
timings
[
pio
][
1
])
<<
4
;
...
...
drivers/ata/pata_sis.c
浏览文件 @
1967b7ff
...
@@ -345,7 +345,7 @@ static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev)
...
@@ -345,7 +345,7 @@ static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev)
if
(
adev
->
dma_mode
<
XFER_UDMA_0
)
{
if
(
adev
->
dma_mode
<
XFER_UDMA_0
)
{
/* bits 3-0 hold recovery timing bits 8-10 active timing and
/* bits 3-0 hold recovery timing bits 8-10 active timing and
the higer bits are dependant on the device */
the hig
h
er bits are dependant on the device */
timing
&=
~
0x870F
;
timing
&=
~
0x870F
;
timing
|=
mwdma_bits
[
speed
];
timing
|=
mwdma_bits
[
speed
];
}
else
{
}
else
{
...
@@ -385,7 +385,7 @@ static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev)
...
@@ -385,7 +385,7 @@ static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev)
if
(
adev
->
dma_mode
<
XFER_UDMA_0
)
{
if
(
adev
->
dma_mode
<
XFER_UDMA_0
)
{
/* bits 3-0 hold recovery timing bits 8-10 active timing and
/* bits 3-0 hold recovery timing bits 8-10 active timing and
the higer bits are dependant on the device, bit 15 udma */
the hig
h
er bits are dependant on the device, bit 15 udma */
timing
&=
~
0x870F
;
timing
&=
~
0x870F
;
timing
|=
mwdma_bits
[
speed
];
timing
|=
mwdma_bits
[
speed
];
}
else
{
}
else
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录