Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142674
b: refs/heads/master
c: 2d1299a
h: refs/heads/master
v: v3
  • Loading branch information
David Daney authored and Jeff Garzik committed Apr 7, 2009
1 parent 47db2c9 commit fbdb10e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8feb4d20b4b867e7a44f7486ecb028cc01a564ae
refs/heads/master: 2d1299aad5b6f6ceeb92d066c58717a164df4876
6 changes: 3 additions & 3 deletions trunk/drivers/ata/pata_octeon_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static void octeon_cf_dma_setup(struct ata_queued_cmd *qc)
struct ata_port *ap = qc->ap;
struct octeon_cf_port *cf_port;

cf_port = (struct octeon_cf_port *)ap->private_data;
cf_port = ap->private_data;
DPRINTK("ENTER\n");
/* issue r/w command */
qc->cursg = qc->sg;
Expand Down Expand Up @@ -596,7 +596,7 @@ static unsigned int octeon_cf_dma_finished(struct ata_port *ap,
if (ap->hsm_task_state != HSM_ST_LAST)
return 0;

cf_port = (struct octeon_cf_port *)ap->private_data;
cf_port = ap->private_data;

dma_cfg.u64 = cvmx_read_csr(CVMX_MIO_BOOT_DMA_CFGX(ocd->dma_engine));
if (dma_cfg.s.size != 0xfffff) {
Expand Down Expand Up @@ -657,7 +657,7 @@ static irqreturn_t octeon_cf_interrupt(int irq, void *dev_instance)
continue;

ocd = ap->dev->platform_data;
cf_port = (struct octeon_cf_port *)ap->private_data;
cf_port = ap->private_data;
dma_int.u64 =
cvmx_read_csr(CVMX_MIO_BOOT_DMA_INTX(ocd->dma_engine));
dma_cfg.u64 =
Expand Down

0 comments on commit fbdb10e

Please sign in to comment.