Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68161
b: refs/heads/master
c: 75da6d2
h: refs/heads/master
i:
  68159: ef5704c
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Oct 12, 2007
1 parent 9259422 commit d0e3c6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 9073868376ed5fa1f247327ccb2e6f766d5b7eed
refs/heads/master: 75da6d2b8f518bec40546bc0b0696a2cebecf6cc
8 changes: 0 additions & 8 deletions trunk/drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1677,19 +1677,11 @@ static void ahci_pmp_attach(struct ata_port *ap)
static void ahci_pmp_detach(struct ata_port *ap)
{
void __iomem *port_mmio = ahci_port_base(ap);
struct ahci_host_priv *hpriv = ap->host->private_data;
unsigned long flags;
u32 cmd;

cmd = readl(port_mmio + PORT_CMD);
cmd &= ~PORT_CMD_PMP;
writel(cmd, port_mmio + PORT_CMD);

if (hpriv->cap & HOST_CAP_NCQ) {
spin_lock_irqsave(ap->lock, flags);
ap->flags |= ATA_FLAG_NCQ;
spin_unlock_irqrestore(ap->lock, flags);
}
}

static int ahci_pmp_read(struct ata_device *dev, int pmp, int reg, u32 *r_val)
Expand Down

0 comments on commit d0e3c6d

Please sign in to comment.