Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294051
b: refs/heads/master
c: d408e2b
h: refs/heads/master
i:
  294049: bb244e2
  294047: 3b8cde2
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Mar 13, 2012
1 parent 05bf610 commit b621c4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55d5ec316627b64c3764e4c1b4b8e1988e272c1f
refs/heads/master: d408e2b14fba4fa214fa5bc24b7baae8a55e563c
11 changes: 11 additions & 0 deletions trunk/drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
enum ahci_type {
AHCI, /* standard platform ahci */
IMX53_AHCI, /* ahci on i.mx53 */
STRICT_AHCI, /* delayed DMA engine start */
};

static struct platform_device_id ahci_devtype[] = {
Expand All @@ -35,6 +36,9 @@ static struct platform_device_id ahci_devtype[] = {
}, {
.name = "imx53-ahci",
.driver_data = IMX53_AHCI,
}, {
.name = "strict-ahci",
.driver_data = STRICT_AHCI,
}, {
/* sentinel */
}
Expand All @@ -56,6 +60,13 @@ static const struct ata_port_info ahci_port_info[] = {
.udma_mask = ATA_UDMA6,
.port_ops = &ahci_pmp_retry_srst_ops,
},
[STRICT_AHCI] = {
AHCI_HFLAGS (AHCI_HFLAG_DELAY_ENGINE),
.flags = AHCI_FLAG_COMMON,
.pio_mask = ATA_PIO4,
.udma_mask = ATA_UDMA6,
.port_ops = &ahci_ops,
},
};

static struct scsi_host_template ahci_platform_sht = {
Expand Down

0 comments on commit b621c4c

Please sign in to comment.