aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/siimage.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-16 20:40:24 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-16 20:40:24 -0500
commit056a697b7388844a1341e92e277bff8e5bf61ec9 (patch)
treeb548accd5b90d95e9d774ce6a253164808d527a9 /drivers/ide/pci/siimage.c
parentc94964a4555eb58be3f45edf2b63a2b3f549ef29 (diff)
ide: unexport ide_set_xfer_rate() (v2)
In cmd64x, siimage and scc_pata drivers: * don't set drive->init_speed as it should be already set by successful execution of ide_set_xfer_rate() * use hwif->speedproc functions directly Above changes allows removal of EXPORT_SYMBOL_GPL(ide_set_xfer_rate). v2: * updated for scc_pata driver Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/siimage.c')
-rw-r--r--drivers/ide/pci/siimage.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c
index cbca5f05ff87..ad98510026a5 100644
--- a/drivers/ide/pci/siimage.c
+++ b/drivers/ide/pci/siimage.c
@@ -396,12 +396,9 @@ static int config_chipset_for_dma (ide_drive_t *drive)
396 if (!speed) 396 if (!speed)
397 return 0; 397 return 0;
398 398
399 if (ide_set_xfer_rate(drive, speed)) 399 if (siimage_tune_chipset(drive, speed))
400 return 0; 400 return 0;
401 401
402 if (!drive->init_speed)
403 drive->init_speed = speed;
404
405 return ide_dma_enable(drive); 402 return ide_dma_enable(drive);
406} 403}
407 404