Skip to content

Commit

Permalink
pdc202xx_new: enable DMA for all ATAPI devices
Browse files Browse the repository at this point in the history
There is no reason to limit DMA to ide_cdrom type devices.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed May 5, 2007
1 parent 072cdcb commit 247b03f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/ide/pci/pdc202xx_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 247b03f

Please sign in to comment.