|
@@ -1282,7 +1282,7 @@ static void ahci_thaw(struct ata_port *ap)
|
|
|
/* clear IRQ */
|
|
|
tmp = readl(port_mmio + PORT_IRQ_STAT);
|
|
|
writel(tmp, port_mmio + PORT_IRQ_STAT);
|
|
|
- writel(1 << ap->id, mmio + HOST_IRQ_STAT);
|
|
|
+ writel(1 << ap->port_no, mmio + HOST_IRQ_STAT);
|
|
|
|
|
|
/* turn IRQ back on */
|
|
|
writel(DEF_PORT_IRQ, port_mmio + PORT_IRQ_MASK);
|