mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
This commit is contained in:
parent
072cdcbb7a
commit
247b03f8dc
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue