aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/arm/icside.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/arm/icside.c')
-rw-r--r--drivers/ide/arm/icside.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c
index d70442a37e34..3a8402bb5dc3 100644
--- a/drivers/ide/arm/icside.c
+++ b/drivers/ide/arm/icside.c
@@ -291,24 +291,10 @@ static void icside_dma_host_off(ide_drive_t *drive)
291{ 291{
292} 292}
293 293
294static void icside_dma_off_quietly(ide_drive_t *drive)
295{
296 drive->using_dma = 0;
297 ide_toggle_bounce(drive, 0);
298}
299
300static void icside_dma_host_on(ide_drive_t *drive) 294static void icside_dma_host_on(ide_drive_t *drive)
301{ 295{
302} 296}
303 297
304static int icside_dma_on(ide_drive_t *drive)
305{
306 drive->using_dma = 1;
307 ide_toggle_bounce(drive, 1);
308
309 return 0;
310}
311
312static int icside_dma_end(ide_drive_t *drive) 298static int icside_dma_end(ide_drive_t *drive)
313{ 299{
314 ide_hwif_t *hwif = HWIF(drive); 300 ide_hwif_t *hwif = HWIF(drive);
@@ -425,9 +411,7 @@ static void icside_dma_init(ide_hwif_t *hwif)
425 hwif->set_dma_mode = icside_set_dma_mode; 411 hwif->set_dma_mode = icside_set_dma_mode;
426 412
427 hwif->dma_host_off = icside_dma_host_off; 413 hwif->dma_host_off = icside_dma_host_off;
428 hwif->dma_off_quietly = icside_dma_off_quietly;
429 hwif->dma_host_on = icside_dma_host_on; 414 hwif->dma_host_on = icside_dma_host_on;
430 hwif->ide_dma_on = icside_dma_on;
431 hwif->dma_setup = icside_dma_setup; 415 hwif->dma_setup = icside_dma_setup;
432 hwif->dma_exec_cmd = icside_dma_exec_cmd; 416 hwif->dma_exec_cmd = icside_dma_exec_cmd;
433 hwif->dma_start = icside_dma_start; 417 hwif->dma_start = icside_dma_start;