diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_fsl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 9323dd0c7d8d..07791a7a48a5 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -335,7 +335,7 @@ static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, | |||
335 | dma_addr_t indirect_ext_segment_paddr; | 335 | dma_addr_t indirect_ext_segment_paddr; |
336 | unsigned int si; | 336 | unsigned int si; |
337 | 337 | ||
338 | VPRINTK("SATA FSL : cd = 0x%x, prd = 0x%x\n", cmd_desc, prd); | 338 | VPRINTK("SATA FSL : cd = 0x%p, prd = 0x%p\n", cmd_desc, prd); |
339 | 339 | ||
340 | indirect_ext_segment_paddr = cmd_desc_paddr + | 340 | indirect_ext_segment_paddr = cmd_desc_paddr + |
341 | SATA_FSL_CMD_DESC_OFFSET_TO_PRDT + SATA_FSL_MAX_PRD_DIRECT * 16; | 341 | SATA_FSL_CMD_DESC_OFFSET_TO_PRDT + SATA_FSL_MAX_PRD_DIRECT * 16; |
@@ -459,7 +459,8 @@ static unsigned int sata_fsl_qc_issue(struct ata_queued_cmd *qc) | |||
459 | VPRINTK("CE=0x%x, DE=0x%x, CC=0x%x, CmdStat = 0x%x\n", | 459 | VPRINTK("CE=0x%x, DE=0x%x, CC=0x%x, CmdStat = 0x%x\n", |
460 | ioread32(CE + hcr_base), | 460 | ioread32(CE + hcr_base), |
461 | ioread32(DE + hcr_base), | 461 | ioread32(DE + hcr_base), |
462 | ioread32(CC + hcr_base), ioread32(COMMANDSTAT + csr_base)); | 462 | ioread32(CC + hcr_base), |
463 | ioread32(COMMANDSTAT + host_priv->csr_base)); | ||
463 | 464 | ||
464 | return 0; | 465 | return 0; |
465 | } | 466 | } |
@@ -522,7 +523,8 @@ static void sata_fsl_freeze(struct ata_port *ap) | |||
522 | ioread32(CQ + hcr_base), | 523 | ioread32(CQ + hcr_base), |
523 | ioread32(CA + hcr_base), | 524 | ioread32(CA + hcr_base), |
524 | ioread32(CE + hcr_base), ioread32(DE + hcr_base)); | 525 | ioread32(CE + hcr_base), ioread32(DE + hcr_base)); |
525 | VPRINTK("CmdStat = 0x%x\n", ioread32(csr_base + COMMANDSTAT)); | 526 | VPRINTK("CmdStat = 0x%x\n", |
527 | ioread32(host_priv->csr_base + COMMANDSTAT)); | ||
526 | 528 | ||
527 | /* disable interrupts on the controller/port */ | 529 | /* disable interrupts on the controller/port */ |
528 | temp = ioread32(hcr_base + HCONTROL); | 530 | temp = ioread32(hcr_base + HCONTROL); |