Hello, Bastiaan. On Tue, Apr 11, 2006 at 07:15:45PM +0200, Bastiaan Jacques wrote: > +static void ahci_clo(struct ata_port *ap) > +{ > + void __iomem *port_mmio = (void __iomem *) ap->ioaddr.cmd_addr; > + u32 tmp; > + > + tmp = readl(port_mmio + PORT_CMD); > + tmp |= PORT_CMD_CLO; > + writel(tmp, port_mmio + PORT_CMD); > + readl(port_mmio + PORT_CMD); /* flush */ > +} Can you please make ahci_clo() check for HOST_CAP_CLO and return -EOPNOTSUPP (or whatever) if it's not supported? Thanks. -- tejun - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html