Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
c1607e1a
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c1607e1a
编写于
2月 17, 2007
作者:
B
Bartlomiej Zolnierkiewicz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ide: remove write-only ide_hwif_t.no_dsc flag
Signed-off-by:
N
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
上级
66790548
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
1 addition
and
14 deletion
+1
-14
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+0
-8
drivers/ide/ide.c
drivers/ide/ide.c
+0
-1
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+1
-3
drivers/ide/pci/hpt34x.c
drivers/ide/pci/hpt34x.c
+0
-1
include/linux/ide.h
include/linux/ide.h
+0
-1
未找到文件。
drivers/ide/ide-cd.c
浏览文件 @
c1607e1a
...
@@ -3255,14 +3255,6 @@ int ide_cdrom_setup (ide_drive_t *drive)
...
@@ -3255,14 +3255,6 @@ int ide_cdrom_setup (ide_drive_t *drive)
if
(
drive
->
autotune
==
IDE_TUNE_DEFAULT
||
if
(
drive
->
autotune
==
IDE_TUNE_DEFAULT
||
drive
->
autotune
==
IDE_TUNE_AUTO
)
drive
->
autotune
==
IDE_TUNE_AUTO
)
drive
->
dsc_overlap
=
(
drive
->
next
!=
drive
);
drive
->
dsc_overlap
=
(
drive
->
next
!=
drive
);
#if 0
drive->dsc_overlap = (HWIF(drive)->no_dsc) ? 0 : 1;
if (HWIF(drive)->no_dsc) {
printk(KERN_INFO "ide-cd: %s: disabling DSC overlap\n",
drive->name);
drive->dsc_overlap = 0;
}
#endif
if
(
ide_cdrom_register
(
drive
,
nslots
))
{
if
(
ide_cdrom_register
(
drive
,
nslots
))
{
printk
(
KERN_ERR
"%s: ide_cdrom_setup failed to register device with the cdrom driver.
\n
"
,
drive
->
name
);
printk
(
KERN_ERR
"%s: ide_cdrom_setup failed to register device with the cdrom driver.
\n
"
,
drive
->
name
);
...
...
drivers/ide/ide.c
浏览文件 @
c1607e1a
...
@@ -552,7 +552,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
...
@@ -552,7 +552,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif)
hwif
->
extra_ports
=
tmp_hwif
->
extra_ports
;
hwif
->
extra_ports
=
tmp_hwif
->
extra_ports
;
hwif
->
autodma
=
tmp_hwif
->
autodma
;
hwif
->
autodma
=
tmp_hwif
->
autodma
;
hwif
->
udma_four
=
tmp_hwif
->
udma_four
;
hwif
->
udma_four
=
tmp_hwif
->
udma_four
;
hwif
->
no_dsc
=
tmp_hwif
->
no_dsc
;
hwif
->
hwif_data
=
tmp_hwif
->
hwif_data
;
hwif
->
hwif_data
=
tmp_hwif
->
hwif_data
;
}
}
...
...
drivers/ide/pci/aec62xx.c
浏览文件 @
c1607e1a
...
@@ -286,10 +286,8 @@ static void __devinit init_hwif_aec62xx(ide_hwif_t *hwif)
...
@@ -286,10 +286,8 @@ static void __devinit init_hwif_aec62xx(ide_hwif_t *hwif)
hwif
->
tuneproc
=
&
aec62xx_tune_drive
;
hwif
->
tuneproc
=
&
aec62xx_tune_drive
;
hwif
->
speedproc
=
&
aec62xx_tune_chipset
;
hwif
->
speedproc
=
&
aec62xx_tune_chipset
;
if
(
hwif
->
pci_dev
->
device
==
PCI_DEVICE_ID_ARTOP_ATP850UF
)
{
if
(
hwif
->
pci_dev
->
device
==
PCI_DEVICE_ID_ARTOP_ATP850UF
)
hwif
->
serialized
=
hwif
->
channel
;
hwif
->
serialized
=
hwif
->
channel
;
hwif
->
no_dsc
=
1
;
}
if
(
hwif
->
mate
)
if
(
hwif
->
mate
)
hwif
->
mate
->
serialized
=
hwif
->
serialized
;
hwif
->
mate
->
serialized
=
hwif
->
serialized
;
...
...
drivers/ide/pci/hpt34x.c
浏览文件 @
c1607e1a
...
@@ -194,7 +194,6 @@ static void __devinit init_hwif_hpt34x(ide_hwif_t *hwif)
...
@@ -194,7 +194,6 @@ static void __devinit init_hwif_hpt34x(ide_hwif_t *hwif)
hwif
->
tuneproc
=
&
hpt34x_tune_drive
;
hwif
->
tuneproc
=
&
hpt34x_tune_drive
;
hwif
->
speedproc
=
&
hpt34x_tune_chipset
;
hwif
->
speedproc
=
&
hpt34x_tune_chipset
;
hwif
->
no_dsc
=
1
;
hwif
->
drives
[
0
].
autotune
=
1
;
hwif
->
drives
[
0
].
autotune
=
1
;
hwif
->
drives
[
1
].
autotune
=
1
;
hwif
->
drives
[
1
].
autotune
=
1
;
...
...
include/linux/ide.h
浏览文件 @
c1607e1a
...
@@ -803,7 +803,6 @@ typedef struct hwif_s {
...
@@ -803,7 +803,6 @@ typedef struct hwif_s {
unsigned
udma_four
:
1
;
/* 1=ATA-66 capable, 0=default */
unsigned
udma_four
:
1
;
/* 1=ATA-66 capable, 0=default */
unsigned
no_lba48
:
1
;
/* 1 = cannot do LBA48 */
unsigned
no_lba48
:
1
;
/* 1 = cannot do LBA48 */
unsigned
no_lba48_dma
:
1
;
/* 1 = cannot do LBA48 DMA */
unsigned
no_lba48_dma
:
1
;
/* 1 = cannot do LBA48 DMA */
unsigned
no_dsc
:
1
;
/* 0 default, 1 dsc_overlap disabled */
unsigned
auto_poll
:
1
;
/* supports nop auto-poll */
unsigned
auto_poll
:
1
;
/* supports nop auto-poll */
unsigned
sg_mapped
:
1
;
/* sg_table and sg_nents are ready */
unsigned
sg_mapped
:
1
;
/* sg_table and sg_nents are ready */
unsigned
no_io_32bit
:
1
;
/* 1 = can not do 32-bit IO ops */
unsigned
no_io_32bit
:
1
;
/* 1 = can not do 32-bit IO ops */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录