On Mon, 26 Feb 2007 02:41:22 +0900 Tejun Heo <htejun@xxxxxxxxx> wrote: > Bartlomiej Zolnierkiewicz wrote: > > Why can't libata do the right thing and just send IDENTIFY command > > to the slave device first? > > That's my plan B. I'm just not sure whether it would do any good, would it? Should find out soon. I've updated my tree to add the ->cable_detect() method, along with finishing off the (ap, adev) cleanup by passing only adev to set_pio_mode and friends, also killing the un-needed ->post_set_mode() now that set_mode can be wrapped. Having a separate ->cable_detect() method cleans stuff up a ton btw. Will post my tree soon for discussion. Alan - 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