mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02: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 <bzolnier@gmail.com>
This commit is contained in:
parent
072cdcbb7a
commit
247b03f8dc
|
|
@ -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 New Issue
Block a user