Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
d582c4ea
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d582c4ea
编写于
5月 29, 2005
作者:
提交者:
Jeff Garzik
5月 29, 2005
浏览文件
操作
浏览文件
下载
差异文件
Automatic merge of /spare/repo/netdev-2.6 branch use-after-unmap
上级
87507cfd
aa8f0dc6
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
29 addition
and
4 deletion
+29
-4
drivers/scsi/ahci.c
drivers/scsi/ahci.c
+2
-0
drivers/scsi/ata_piix.c
drivers/scsi/ata_piix.c
+2
-0
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+11
-4
drivers/scsi/sata_nv.c
drivers/scsi/sata_nv.c
+2
-0
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+1
-0
drivers/scsi/sata_qstor.c
drivers/scsi/sata_qstor.c
+2
-0
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil.c
+1
-0
drivers/scsi/sata_sis.c
drivers/scsi/sata_sis.c
+1
-0
drivers/scsi/sata_svw.c
drivers/scsi/sata_svw.c
+1
-0
drivers/scsi/sata_sx4.c
drivers/scsi/sata_sx4.c
+2
-0
drivers/scsi/sata_uli.c
drivers/scsi/sata_uli.c
+1
-0
drivers/scsi/sata_via.c
drivers/scsi/sata_via.c
+1
-0
drivers/scsi/sata_vsc.c
drivers/scsi/sata_vsc.c
+1
-0
include/linux/libata.h
include/linux/libata.h
+1
-0
未找到文件。
drivers/scsi/ahci.c
浏览文件 @
d582c4ea
...
...
@@ -290,6 +290,8 @@ static void ahci_host_stop(struct ata_host_set *host_set)
{
struct
ahci_host_priv
*
hpriv
=
host_set
->
private_data
;
kfree
(
hpriv
);
ata_host_stop
(
host_set
);
}
static
int
ahci_port_start
(
struct
ata_port
*
ap
)
...
...
drivers/scsi/ata_piix.c
浏览文件 @
d582c4ea
...
...
@@ -153,6 +153,7 @@ static struct ata_port_operations piix_pata_ops = {
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_operations
piix_sata_ops
=
{
...
...
@@ -180,6 +181,7 @@ static struct ata_port_operations piix_sata_ops = {
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
piix_port_info
[]
=
{
...
...
drivers/scsi/libata-core.c
浏览文件 @
d582c4ea
...
...
@@ -3322,6 +3322,13 @@ void ata_port_stop (struct ata_port *ap)
dma_free_coherent
(
dev
,
ATA_PRD_TBL_SZ
,
ap
->
prd
,
ap
->
prd_dma
);
}
void
ata_host_stop
(
struct
ata_host_set
*
host_set
)
{
if
(
host_set
->
mmio_base
)
iounmap
(
host_set
->
mmio_base
);
}
/**
* ata_host_remove - Unregister SCSI host structure with upper layers
* @ap: Port to unregister
...
...
@@ -3878,10 +3885,6 @@ void ata_pci_remove_one (struct pci_dev *pdev)
}
free_irq
(
host_set
->
irq
,
host_set
);
if
(
host_set
->
ops
->
host_stop
)
host_set
->
ops
->
host_stop
(
host_set
);
if
(
host_set
->
mmio_base
)
iounmap
(
host_set
->
mmio_base
);
for
(
i
=
0
;
i
<
host_set
->
n_ports
;
i
++
)
{
ap
=
host_set
->
ports
[
i
];
...
...
@@ -3900,6 +3903,9 @@ void ata_pci_remove_one (struct pci_dev *pdev)
scsi_host_put
(
ap
->
host
);
}
if
(
host_set
->
ops
->
host_stop
)
host_set
->
ops
->
host_stop
(
host_set
);
kfree
(
host_set
);
pci_release_regions
(
pdev
);
...
...
@@ -3997,6 +4003,7 @@ EXPORT_SYMBOL_GPL(ata_chk_err);
EXPORT_SYMBOL_GPL
(
ata_exec_command
);
EXPORT_SYMBOL_GPL
(
ata_port_start
);
EXPORT_SYMBOL_GPL
(
ata_port_stop
);
EXPORT_SYMBOL_GPL
(
ata_host_stop
);
EXPORT_SYMBOL_GPL
(
ata_interrupt
);
EXPORT_SYMBOL_GPL
(
ata_qc_prep
);
EXPORT_SYMBOL_GPL
(
ata_bmdma_setup
);
...
...
drivers/scsi/sata_nv.c
浏览文件 @
d582c4ea
...
...
@@ -329,6 +329,8 @@ static void nv_host_stop (struct ata_host_set *host_set)
host
->
host_desc
->
disable_hotplug
(
host_set
);
kfree
(
host
);
ata_host_stop
(
host_set
);
}
static
int
nv_init_one
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
ent
)
...
...
drivers/scsi/sata_promise.c
浏览文件 @
d582c4ea
...
...
@@ -122,6 +122,7 @@ static struct ata_port_operations pdc_ata_ops = {
.
scr_write
=
pdc_sata_scr_write
,
.
port_start
=
pdc_port_start
,
.
port_stop
=
pdc_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
pdc_port_info
[]
=
{
...
...
drivers/scsi/sata_qstor.c
浏览文件 @
d582c4ea
...
...
@@ -536,6 +536,8 @@ static void qs_host_stop(struct ata_host_set *host_set)
writeb
(
0
,
mmio_base
+
QS_HCT_CTRL
);
/* disable host interrupts */
writeb
(
QS_CNFG3_GSRST
,
mmio_base
+
QS_HCF_CNFG3
);
/* global reset */
ata_host_stop
(
host_set
);
}
static
void
qs_host_init
(
unsigned
int
chip_id
,
struct
ata_probe_ent
*
pe
)
...
...
drivers/scsi/sata_sil.c
浏览文件 @
d582c4ea
...
...
@@ -161,6 +161,7 @@ static struct ata_port_operations sil_ops = {
.
scr_write
=
sil_scr_write
,
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
sil_port_info
[]
=
{
...
...
drivers/scsi/sata_sis.c
浏览文件 @
d582c4ea
...
...
@@ -114,6 +114,7 @@ static struct ata_port_operations sis_ops = {
.
scr_write
=
sis_scr_write
,
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
sis_port_info
=
{
...
...
drivers/scsi/sata_svw.c
浏览文件 @
d582c4ea
...
...
@@ -313,6 +313,7 @@ static struct ata_port_operations k2_sata_ops = {
.
scr_write
=
k2_sata_scr_write
,
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
void
k2_sata_setup_port
(
struct
ata_ioports
*
port
,
unsigned
long
base
)
...
...
drivers/scsi/sata_sx4.c
浏览文件 @
d582c4ea
...
...
@@ -245,6 +245,8 @@ static void pdc20621_host_stop(struct ata_host_set *host_set)
iounmap
(
dimm_mmio
);
kfree
(
hpriv
);
ata_host_stop
(
host_set
);
}
static
int
pdc_port_start
(
struct
ata_port
*
ap
)
...
...
drivers/scsi/sata_uli.c
浏览文件 @
d582c4ea
...
...
@@ -113,6 +113,7 @@ static struct ata_port_operations uli_ops = {
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
uli_port_info
=
{
...
...
drivers/scsi/sata_via.c
浏览文件 @
d582c4ea
...
...
@@ -134,6 +134,7 @@ static struct ata_port_operations svia_sata_ops = {
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
struct
ata_port_info
svia_port_info
=
{
...
...
drivers/scsi/sata_vsc.c
浏览文件 @
d582c4ea
...
...
@@ -231,6 +231,7 @@ static struct ata_port_operations vsc_sata_ops = {
.
scr_write
=
vsc_sata_scr_write
,
.
port_start
=
ata_port_start
,
.
port_stop
=
ata_port_stop
,
.
host_stop
=
ata_host_stop
,
};
static
void
__devinit
vsc_sata_setup_port
(
struct
ata_ioports
*
port
,
unsigned
long
base
)
...
...
include/linux/libata.h
浏览文件 @
d582c4ea
...
...
@@ -410,6 +410,7 @@ extern u8 ata_chk_err(struct ata_port *ap);
extern
void
ata_exec_command
(
struct
ata_port
*
ap
,
struct
ata_taskfile
*
tf
);
extern
int
ata_port_start
(
struct
ata_port
*
ap
);
extern
void
ata_port_stop
(
struct
ata_port
*
ap
);
extern
void
ata_host_stop
(
struct
ata_host_set
*
host_set
);
extern
irqreturn_t
ata_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
);
extern
void
ata_qc_prep
(
struct
ata_queued_cmd
*
qc
);
extern
int
ata_qc_issue_prot
(
struct
ata_queued_cmd
*
qc
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录