OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4ec34
)
sata_inic162x: kill PORT_PRD_ADDR initialization
author
Tejun Heo
<tj@kernel.org>
Mon, 10 May 2010 19:41:31 +0000
(21:41 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 18 May 2010 02:49:04 +0000
(22:49 -0400)
sata_inic162x doesn't use PRD anymore. No need to initialize it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_inic162x.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_inic162x.c
b/drivers/ata/sata_inic162x.c
index
0ac6cdd
..
d3e1bab
100644
(file)
--- a/
drivers/ata/sata_inic162x.c
+++ b/
drivers/ata/sata_inic162x.c
@@
-668,8
+668,7
@@
static void init_port(struct ata_port *ap)
memset(pp->pkt, 0, sizeof(struct inic_pkt));
memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE);
- /* setup PRD and CPB lookup table addresses */
- writel(ap->prd_dma, port_base + PORT_PRD_ADDR);
+ /* setup CPB lookup table addresses */
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
}