diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-05-05 16:03:50 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-05-05 16:03:50 -0400 |
commit | 247b03f8dc4c01659030889f7fb4574013974ac6 (patch) | |
tree | e04e6094242eb80d711a5e613b5629d50cd4fc6c /drivers/ide | |
parent | 072cdcbb7af8a0e1894f9caa6d46d027bbe7f647 (diff) |
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>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/pdc202xx_new.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index ace98929cc3d..2da5cbb53566 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) | |||
255 | printk(KERN_WARNING "%s reduced to Ultra33 mode.\n", drive->name); | 255 | printk(KERN_WARNING "%s reduced to Ultra33 mode.\n", drive->name); |
256 | } | 256 | } |
257 | 257 | ||
258 | if (drive->media != ide_disk && drive->media != ide_cdrom) | ||
259 | return 0; | ||
260 | |||
261 | if (id->capability & 4) { | 258 | if (id->capability & 4) { |
262 | /* | 259 | /* |
263 | * Set IORDY_EN & PREFETCH_EN (this seems to have | 260 | * Set IORDY_EN & PREFETCH_EN (this seems to have |