Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4fca377f
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看板
提交
4fca377f
编写于
2月 15, 2011
作者:
J
Jeff Garzik
提交者:
Jeff Garzik
3月 02, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libata] trivial: trim trailing whitespace for drivers/ata/*.[ch]
上级
00dd4998
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
14 addition
and
14 deletion
+14
-14
drivers/ata/ata_generic.c
drivers/ata/ata_generic.c
+1
-1
drivers/ata/ata_piix.c
drivers/ata/ata_piix.c
+1
-1
drivers/ata/libata-core.c
drivers/ata/libata-core.c
+5
-5
drivers/ata/libata-sff.c
drivers/ata/libata-sff.c
+1
-1
drivers/ata/pata_hpt3x3.c
drivers/ata/pata_hpt3x3.c
+1
-1
drivers/ata/pata_it821x.c
drivers/ata/pata_it821x.c
+2
-2
drivers/ata/pata_marvell.c
drivers/ata/pata_marvell.c
+1
-1
drivers/ata/pata_ninja32.c
drivers/ata/pata_ninja32.c
+1
-1
drivers/ata/pata_pcmcia.c
drivers/ata/pata_pcmcia.c
+1
-1
未找到文件。
drivers/ata/ata_generic.c
浏览文件 @
4fca377f
...
...
@@ -237,7 +237,7 @@ static struct pci_device_id ata_generic[] = {
#endif
/* Intel, IDE class device */
{
PCI_VENDOR_ID_INTEL
,
PCI_ANY_ID
,
PCI_ANY_ID
,
PCI_ANY_ID
,
PCI_CLASS_STORAGE_IDE
<<
8
,
0xFFFFFF00UL
,
PCI_CLASS_STORAGE_IDE
<<
8
,
0xFFFFFF00UL
,
.
driver_data
=
ATA_GEN_INTEL_IDER
},
/* Must come last. If you add entries adjust this table appropriately */
{
PCI_DEVICE_CLASS
(
PCI_CLASS_STORAGE_IDE
<<
8
,
0xFFFFFF00UL
),
...
...
drivers/ata/ata_piix.c
浏览文件 @
4fca377f
...
...
@@ -230,7 +230,7 @@ static const struct pci_device_id piix_pci_tbl[] = {
{
0x8086
,
0x2850
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich_pata_100
},
/* SATA ports */
/* 82801EB (ICH5) */
{
0x8086
,
0x24d1
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
/* 82801EB (ICH5) */
...
...
drivers/ata/libata-core.c
浏览文件 @
4fca377f
...
...
@@ -4210,7 +4210,7 @@ static int glob_match (const char *text, const char *pattern)
return
0
;
/* End of both strings: match */
return
1
;
/* No match */
}
static
unsigned
long
ata_dev_blacklisted
(
const
struct
ata_device
*
dev
)
{
unsigned
char
model_num
[
ATA_ID_PROD_LEN
+
1
];
...
...
@@ -5479,7 +5479,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
ap
=
kzalloc
(
sizeof
(
*
ap
),
GFP_KERNEL
);
if
(
!
ap
)
return
NULL
;
ap
->
pflags
|=
ATA_PFLAG_INITIALIZING
;
ap
->
lock
=
&
host
->
lock
;
ap
->
print_id
=
-
1
;
...
...
@@ -5923,7 +5923,7 @@ int ata_port_probe(struct ata_port *ap)
static
void
async_port_probe
(
void
*
data
,
async_cookie_t
cookie
)
{
struct
ata_port
*
ap
=
data
;
/*
* If we're not allowed to scan this host in parallel,
* we need to wait until all previous scans have completed
...
...
@@ -5981,7 +5981,7 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
for
(
i
=
0
;
i
<
host
->
n_ports
;
i
++
)
host
->
ports
[
i
]
->
print_id
=
ata_print_id
++
;
/* Create associated sysfs transport objects */
for
(
i
=
0
;
i
<
host
->
n_ports
;
i
++
)
{
rc
=
ata_tport_add
(
host
->
dev
,
host
->
ports
[
i
]);
...
...
@@ -6469,7 +6469,7 @@ static int __init ata_init(void)
ata_sff_exit
();
rc
=
-
ENOMEM
;
goto
err_out
;
}
}
printk
(
KERN_DEBUG
"libata version "
DRV_VERSION
" loaded.
\n
"
);
return
0
;
...
...
drivers/ata/libata-sff.c
浏览文件 @
4fca377f
...
...
@@ -1336,7 +1336,7 @@ static void ata_sff_pio_task(struct work_struct *work)
u8
status
;
int
poll_next
;
BUG_ON
(
ap
->
sff_pio_task_link
==
NULL
);
BUG_ON
(
ap
->
sff_pio_task_link
==
NULL
);
/* qc can be NULL if timeout occurred */
qc
=
ata_qc_from_tag
(
ap
,
link
->
active_tag
);
if
(
!
qc
)
{
...
...
drivers/ata/pata_hpt3x3.c
浏览文件 @
4fca377f
...
...
@@ -151,7 +151,7 @@ static struct ata_port_operations hpt3x3_port_ops = {
.
check_atapi_dma
=
hpt3x3_atapi_dma
,
.
freeze
=
hpt3x3_freeze
,
#endif
};
/**
...
...
drivers/ata/pata_it821x.c
浏览文件 @
4fca377f
...
...
@@ -616,7 +616,7 @@ static void it821x_display_disk(int n, u8 *buf)
if
(
buf
[
52
]
>
4
)
/* No Disk */
return
;
ata_id_c_string
((
u16
*
)
buf
,
id
,
0
,
41
);
ata_id_c_string
((
u16
*
)
buf
,
id
,
0
,
41
);
if
(
buf
[
51
])
{
mode
=
ffs
(
buf
[
51
]);
...
...
@@ -910,7 +910,7 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
rc
=
pcim_enable_device
(
pdev
);
if
(
rc
)
return
rc
;
if
(
pdev
->
vendor
==
PCI_VENDOR_ID_RDC
)
{
/* Deal with Vortex86SX */
if
(
pdev
->
revision
==
0x11
)
...
...
drivers/ata/pata_marvell.c
浏览文件 @
4fca377f
...
...
@@ -38,7 +38,7 @@ static int marvell_pata_active(struct pci_dev *pdev)
/* We don't yet know how to do this for other devices */
if
(
pdev
->
device
!=
0x6145
)
return
1
;
return
1
;
barp
=
pci_iomap
(
pdev
,
5
,
0x10
);
if
(
barp
==
NULL
)
...
...
drivers/ata/pata_ninja32.c
浏览文件 @
4fca377f
...
...
@@ -165,7 +165,7 @@ static int ninja32_reinit_one(struct pci_dev *pdev)
return
rc
;
ninja32_program
(
host
->
iomap
[
0
]);
ata_host_resume
(
host
);
return
0
;
return
0
;
}
#endif
...
...
drivers/ata/pata_pcmcia.c
浏览文件 @
4fca377f
...
...
@@ -124,7 +124,7 @@ static unsigned int ata_data_xfer_8bit(struct ata_device *dev,
* reset will recover the device.
*
*/
static
void
pcmcia_8bit_drain_fifo
(
struct
ata_queued_cmd
*
qc
)
{
int
count
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录