The patch titled Old IDE, fix SATA detection for cabling has been added to the -mm tree. Its filename is old-ide-fix-sata-detection-for-cabling.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Old IDE, fix SATA detection for cabling From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> This is based on the proposed patches flying around but also checks that the device in question is new enough to have word 93 rather thanb blindly assuming word 93 == 0 means SATA (see ATA-5, ATA-7) Signed-off-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/ide/ide-iops.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN drivers/ide/ide-iops.c~old-ide-fix-sata-detection-for-cabling drivers/ide/ide-iops.c --- a/drivers/ide/ide-iops.c~old-ide-fix-sata-detection-for-cabling +++ a/drivers/ide/ide-iops.c @@ -597,6 +597,10 @@ u8 eighty_ninty_three (ide_drive_t *driv { if(HWIF(drive)->udma_four == 0) return 0; + + /* Check for SATA but only if we are ATA5 or higher */ + if (drive->id->hw_config == 0 && (drive->id->major_rev_num & 0x7FE0)) + return 1; if (!(drive->id->hw_config & 0x6000)) return 0; #ifndef CONFIG_IDEDMA_IVB _ Patches currently in -mm which might be from alan@xxxxxxxxxxxxxxxxxxx are origin.patch correct-tty-doc.patch ide-pdc202xx_oldc-remove-unneeded-tuneproc-call.patch ide-io-increase-timeout-value-to-allow-for-slave-wakeup.patch ide-actually-honor-drives-minimum-pio-dma-cycle-times.patch ide-pdc202xx_old-remove-the-obsolete-busproc.patch fix-ide-deadlock-in-error-reporting-code.patch pdc202xx_old-depends-on-config_blk_dev_idedma.patch remove-code-that-has-long-been-commented-out-from-pdc20265_old.patch ata-add-some-nvidia-chipset-ids.patch via-pata-controller-xfer-fixes.patch git-pcmcia.patch megaraid-gcc-41-warning-fix.patch bogus-disk-geometry-on-large-disks.patch remove-tty_dont_flip.patch old-ide-fix-sata-detection-for-cabling.patch ide-claim-extra-dma-ports-regardless-of-channel.patch ide-remove-dma_base2-field-form-ide_hwif_t.patch ide-always-release-dma-engine.patch ide-error-handling-fixes.patch ide-hpt3xxn-clocking-fixes.patch ide-fix-hpt37x-timing-tables.patch ide-optimize-hpt37x-timing-tables.patch ide-fix-hpt3xx-hotswap-support.patch ide-fix-the-case-of-multiple-hpt3xx-chips-present.patch ide-hpt3xx-fix-pci-clock-detection.patch ide-hpt3xx-fix-pci-clock-detection-fix-2.patch piix-fix-82371mx-enablebits.patch piix-remove-check-for-broken-mw-dma-mode-0.patch piix-slc90e66-pio-mode-fallback-fix.patch make-number-of-ide-interfaces-configurable.patch ide_dma_speed-fixes.patch hpt3xx-rework-rate-filtering.patch hpt3xx-rework-rate-filtering-tidy.patch hpt3xx-print-the-real-chip-name-at-startup.patch hpt3xx-switch-to-using-pci_get_slot.patch hpt3xx-cache-channels-mcr-address.patch hpt3x7-merge-speedproc-handlers.patch hpt370-clean-up-dma-timeout-handling.patch enable-cdrom-dma-access-with-pdc20265_old.patch ide-fix-revision-comparison-in-ide_in_drive_list.patch drivers-ide-legacy-ide-csc-make-2-functions-static.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html