Skip to contentSkip to conversation

pata_amd: DMA modes do not have 8-bit timings

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Oct 11, 2011 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pata_amd: DMA modes do not have 8-bit timings

From: Bartlomiej Zolnierkiewicz <[email protected]>
Subject: [PATCH] pata_amd: DMA modes do not have 8-bit timings

---
 drivers/ata/pata_amd.c |    5 -----
 1 file changed, 5 deletions(-)
drivers/ata/pata_amd.c +0 -5
Index: b/drivers/ata/pata_amd.c
===================================================================
@@ -65,11 +65,6 @@ static void timing_setup(struct ata_port
 	}
 
 	if (peer) {
-		/* This may be over conservative */
-		if (peer->dma_mode) {
-			ata_timing_compute(peer, peer->dma_mode, &apeer, T, UT);
-			ata_timing_merge(&apeer, &at, &at, ATA_TIMING_8BIT);
-		}
 		ata_timing_compute(peer, peer->pio_mode, &apeer, T, UT);
 		ata_timing_merge(&apeer, &at, &at, ATA_TIMING_8BIT);
 	}