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
...@@ -255,9 +255,6 @@ static int config_chipset_for_dma(ide_drive_t *drive) ...@@ -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); 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) { if (id->capability & 4) {
/* /*
* Set IORDY_EN & PREFETCH_EN (this seems to have * Set IORDY_EN & PREFETCH_EN (this seems to have
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment