The patch titled SLC90E66: config_drive_for_dma() cleanup has been removed from the -mm tree. Its filename is slc90e66-config_drive_for_dma-cleanup.patch This patch was probably dropped from -mm because it has now been merged into a subsystem tree or into Linus's tree, or because it was folded into its parent patch in the -mm tree. From: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> Clean up config_drive_for_dma() from the useless code as there's no need for PIO fallback here since this is done by its caller, slc90e66_config_drive_xfer_rate(). Also, while at it, simplify slc90e66_config_drive_xfer_rate() a bit. Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/ide/pci/slc90e66.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff -puN drivers/ide/pci/slc90e66.c~slc90e66-config_drive_for_dma-cleanup drivers/ide/pci/slc90e66.c --- devel/drivers/ide/pci/slc90e66.c~slc90e66-config_drive_for_dma-cleanup 2006-05-12 08:29:44.000000000 -0700 +++ devel-akpm/drivers/ide/pci/slc90e66.c 2006-05-12 08:29:44.000000000 -0700 @@ -2,6 +2,7 @@ * linux/drivers/ide/pci/slc90e66.c Version 0.11 September 11, 2002 * * Copyright (C) 2000-2002 Andre Hedrick <andre@xxxxxxxxxxxxx> + * Copyright (C) 2006 MontaVista Software, Inc. <source@xxxxxxxxxx> * * This a look-a-like variation of the ICH0 PIIX4 Ultra-66, * but this keeps the ISA-Bridge and slots alive. @@ -161,10 +162,8 @@ static int slc90e66_config_drive_for_dma { u8 speed = ide_dma_speed(drive, slc90e66_ratemask(drive)); - if (!(speed)) { - u8 tspeed = ide_get_best_pio_mode(drive, 255, 5, NULL); - speed = slc90e66_dma_2_pio(XFER_PIO_0 + tspeed); - } + if (!speed) + return 0; (void) slc90e66_tune_chipset(drive, speed); return ide_dma_enable(drive); @@ -179,10 +178,8 @@ static int slc90e66_config_drive_xfer_ra if (id && (id->capability & 1) && drive->autodma) { - if (ide_use_dma(drive)) { - if (slc90e66_config_drive_for_dma(drive)) - return hwif->ide_dma_on(drive); - } + if (ide_use_dma(drive) && slc90e66_config_drive_for_dma(drive)) + return hwif->ide_dma_on(drive); goto fast_ata_pio; _ Patches currently in -mm which might be from sshtylyov@xxxxxxxxxxxxx are origin.patch git-netdev-all.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-hpt3xxn-clocking-fixes.patch ide-actually-honor-drives-minimum-pio-dma-cycle-times.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-pdc202xx_old-remove-the-obsolete-busproc.patch slc90e66-config_drive_for_dma-cleanup.patch piix-fix-82371mx-enablebits.patch piix-remove-check-for-broken-mw-dma-mode-0.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