Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 247b03f8 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

pdc202xx_new: enable DMA for all ATAPI devices



There is no reason to limit DMA to ide_cdrom type devices.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 072cdcbb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -255,9 +255,6 @@ static int config_chipset_for_dma(ide_drive_t *drive)
		printk(KERN_WARNING "%s reduced to Ultra33 mode.\n", drive->name);
	}

	if (drive->media != ide_disk && drive->media != ide_cdrom)
		return 0;

	if (id->capability & 4) {
		/*
		 * Set IORDY_EN & PREFETCH_EN (this seems to have