Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e508a391
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e508a391
编写于
12月 13, 2005
作者:
J
Jeff Garzik
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'upstream-fixes'
上级
d00d598f
50630195
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
16 addition
and
10 deletion
+16
-10
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+5
-2
drivers/scsi/sata_mv.c
drivers/scsi/sata_mv.c
+2
-1
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+6
-6
drivers/scsi/sata_sx4.c
drivers/scsi/sata_sx4.c
+2
-1
include/linux/libata.h
include/linux/libata.h
+1
-0
未找到文件。
drivers/scsi/libata-scsi.c
浏览文件 @
e508a391
...
...
@@ -2175,9 +2175,12 @@ ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev)
if
(
unlikely
(
!
ata_dev_present
(
dev
)))
return
NULL
;
if
(
!
atapi_enabled
)
{
if
(
unlikely
(
dev
->
class
==
ATA_DEV_ATAPI
))
if
(
!
atapi_enabled
||
(
ap
->
flags
&
ATA_FLAG_NO_ATAPI
))
{
if
(
unlikely
(
dev
->
class
==
ATA_DEV_ATAPI
))
{
printk
(
KERN_WARNING
"ata%u(%u): WARNING: ATAPI is %s, device ignored.
\n
"
,
ap
->
id
,
dev
->
devno
,
atapi_enabled
?
"not supported with this driver"
:
"disabled"
);
return
NULL
;
}
}
return
dev
;
...
...
drivers/scsi/sata_mv.c
浏览文件 @
e508a391
...
...
@@ -86,7 +86,8 @@ enum {
MV_FLAG_DUAL_HC
=
(
1
<<
30
),
/* two SATA Host Controllers */
MV_FLAG_IRQ_COALESCE
=
(
1
<<
29
),
/* IRQ coalescing capability */
MV_COMMON_FLAGS
=
(
ATA_FLAG_SATA
|
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SATA_RESET
|
ATA_FLAG_MMIO
),
ATA_FLAG_SATA_RESET
|
ATA_FLAG_MMIO
|
ATA_FLAG_NO_ATAPI
),
MV_6XXX_FLAGS
=
MV_FLAG_IRQ_COALESCE
,
CRQB_FLAG_READ
=
(
1
<<
0
),
...
...
drivers/scsi/sata_promise.c
浏览文件 @
e508a391
...
...
@@ -70,6 +70,9 @@ enum {
PDC_HAS_PATA
=
(
1
<<
1
),
/* PDC20375 has PATA */
PDC_RESET
=
(
1
<<
11
),
/* HDMA reset */
PDC_COMMON_FLAGS
=
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
|
ATA_FLAG_NO_ATAPI
,
};
...
...
@@ -162,8 +165,7 @@ static const struct ata_port_info pdc_port_info[] = {
/* board_2037x */
{
.
sht
=
&
pdc_ata_sht
,
.
host_flags
=
ATA_FLAG_SATA
|
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
,
.
host_flags
=
PDC_COMMON_FLAGS
|
ATA_FLAG_SATA
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
...
...
@@ -173,8 +175,7 @@ static const struct ata_port_info pdc_port_info[] = {
/* board_20319 */
{
.
sht
=
&
pdc_ata_sht
,
.
host_flags
=
ATA_FLAG_SATA
|
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
,
.
host_flags
=
PDC_COMMON_FLAGS
|
ATA_FLAG_SATA
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
...
...
@@ -184,8 +185,7 @@ static const struct ata_port_info pdc_port_info[] = {
/* board_20619 */
{
.
sht
=
&
pdc_ata_sht
,
.
host_flags
=
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
|
ATA_FLAG_SLAVE_POSS
,
.
host_flags
=
PDC_COMMON_FLAGS
|
ATA_FLAG_SLAVE_POSS
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
...
...
drivers/scsi/sata_sx4.c
浏览文件 @
e508a391
...
...
@@ -220,7 +220,8 @@ static const struct ata_port_info pdc_port_info[] = {
{
.
sht
=
&
pdc_sata_sht
,
.
host_flags
=
ATA_FLAG_SATA
|
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
,
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
|
ATA_FLAG_NO_ATAPI
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
...
...
include/linux/libata.h
浏览文件 @
e508a391
...
...
@@ -122,6 +122,7 @@ enum {
ATA_FLAG_NOINTR
=
(
1
<<
9
),
/* FIXME: Remove this once
* proper HSM is in place. */
ATA_FLAG_DEBUGMSG
=
(
1
<<
10
),
ATA_FLAG_NO_ATAPI
=
(
1
<<
11
),
/* No ATAPI support */
ATA_QCFLAG_ACTIVE
=
(
1
<<
1
),
/* cmd not yet ack'd to scsi lyer */
ATA_QCFLAG_SG
=
(
1
<<
3
),
/* have s/g table? */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录