From: Bartlomiej Zolnierkiewicz Date: Sat, 5 May 2007 20:03:50 +0000 (+0200) Subject: pdc202xx_new: enable DMA for all ATAPI devices X-Git-Tag: v2.6.22-rc1~1022 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=247b03f8dc4c01659030889f7fb4574013974ac6;p=linux-2.6 pdc202xx_new: enable DMA for all ATAPI devices There is no reason to limit DMA to ide_cdrom type devices. Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index ace98929cc..2da5cbb535 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c @@ -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