diff options
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index 5320ea854365..8a9d80c3628e 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -295,7 +295,7 @@ static struct ata_port_operations mpc52xx_ata_port_ops = { | |||
295 | .error_handler = mpc52xx_ata_error_handler, | 295 | .error_handler = mpc52xx_ata_error_handler, |
296 | .qc_prep = ata_qc_prep, | 296 | .qc_prep = ata_qc_prep, |
297 | .qc_issue = ata_qc_issue_prot, | 297 | .qc_issue = ata_qc_issue_prot, |
298 | .data_xfer = ata_mmio_data_xfer, | 298 | .data_xfer = ata_data_xfer, |
299 | .irq_handler = ata_interrupt, | 299 | .irq_handler = ata_interrupt, |
300 | .irq_clear = ata_bmdma_irq_clear, | 300 | .irq_clear = ata_bmdma_irq_clear, |
301 | .port_start = ata_port_start, | 301 | .port_start = ata_port_start, |
@@ -308,7 +308,7 @@ static struct ata_probe_ent mpc52xx_ata_probe_ent = { | |||
308 | .pio_mask = 0x1f, /* Up to PIO4 */ | 308 | .pio_mask = 0x1f, /* Up to PIO4 */ |
309 | .mwdma_mask = 0x00, /* No MWDMA */ | 309 | .mwdma_mask = 0x00, /* No MWDMA */ |
310 | .udma_mask = 0x00, /* No UDMA */ | 310 | .udma_mask = 0x00, /* No UDMA */ |
311 | .port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_MMIO, | 311 | .port_flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, |
312 | .irq_flags = 0, | 312 | .irq_flags = 0, |
313 | }; | 313 | }; |
314 | 314 | ||
@@ -324,18 +324,18 @@ mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv) | |||
324 | ae->irq = priv->ata_irq; | 324 | ae->irq = priv->ata_irq; |
325 | 325 | ||
326 | aio->cmd_addr = 0; /* Don't have a classic reg block */ | 326 | aio->cmd_addr = 0; /* Don't have a classic reg block */ |
327 | aio->altstatus_addr = (unsigned long)&priv->ata_regs->tf_control; | 327 | aio->altstatus_addr = &priv->ata_regs->tf_control; |
328 | aio->ctl_addr = (unsigned long)&priv->ata_regs->tf_control; | 328 | aio->ctl_addr = &priv->ata_regs->tf_control; |
329 | aio->data_addr = (unsigned long)&priv->ata_regs->tf_data; | 329 | aio->data_addr = &priv->ata_regs->tf_data; |
330 | aio->error_addr = (unsigned long)&priv->ata_regs->tf_features; | 330 | aio->error_addr = &priv->ata_regs->tf_features; |
331 | aio->feature_addr = (unsigned long)&priv->ata_regs->tf_features; | 331 | aio->feature_addr = &priv->ata_regs->tf_features; |
332 | aio->nsect_addr = (unsigned long)&priv->ata_regs->tf_sec_count; | 332 | aio->nsect_addr = &priv->ata_regs->tf_sec_count; |
333 | aio->lbal_addr = (unsigned long)&priv->ata_regs->tf_sec_num; | 333 | aio->lbal_addr = &priv->ata_regs->tf_sec_num; |
334 | aio->lbam_addr = (unsigned long)&priv->ata_regs->tf_cyl_low; | 334 | aio->lbam_addr = &priv->ata_regs->tf_cyl_low; |
335 | aio->lbah_addr = (unsigned long)&priv->ata_regs->tf_cyl_high; | 335 | aio->lbah_addr = &priv->ata_regs->tf_cyl_high; |
336 | aio->device_addr = (unsigned long)&priv->ata_regs->tf_dev_head; | 336 | aio->device_addr = &priv->ata_regs->tf_dev_head; |
337 | aio->status_addr = (unsigned long)&priv->ata_regs->tf_command; | 337 | aio->status_addr = &priv->ata_regs->tf_command; |
338 | aio->command_addr = (unsigned long)&priv->ata_regs->tf_command; | 338 | aio->command_addr = &priv->ata_regs->tf_command; |
339 | 339 | ||
340 | ae->private_data = priv; | 340 | ae->private_data = priv; |
341 | 341 | ||