currently libata-sff is completely ignoring the enabled/disabled status of the interfaces. This is a real problem on parisc because if you touch a non responding memory area (i.e. a disabled interface) you crash the box. Fix this up by restoring the enablebits logic to the pata_cmd64x driver. To do this, libata-sff has to be modified not to probe both ports if we don't have them. This is done by reintroducing IDE_HFLAG_SINGLE flag as ATA_HOST_SFF_SINGLE_PORT which drivers can use to condition libata-sff port probing. James --- James Bottomley (2): libata-sff: remove hardcoded requirement for two ports pata_cmd64x: fix crash on boot with disabled secondary port drivers/ata/libata-sff.c | 75 ++++++++++++++++++++++++++++++++------------ drivers/ata/pata_cmd64x.c | 22 +++++++++++-- include/linux/libata.h | 1 + 3 files changed, 74 insertions(+), 24 deletions(-) -- 1.7.4.1 -- 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