On Thu, May 08, 2008 at 04:10:08PM -0700, Kristen Carlson Accardi wrote: > +static int ahci_is_hotplug_capable(struct ata_port *ap) > +{ > + void __iomem *port_mmio = ahci_port_base(ap); > + u8 cmd; > + > + if (!ahci_power_save) > + return 1; > + > + cmd = readl(port_mmio + PORT_CMD); > + return ((cmd & PORT_CMD_HPCP) || (cmd & PORT_CMD_ESP)); > +} Just out of interest, is this set on laptop bays? (Are any of those even native SATA yet?) -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: 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