diff options
Diffstat (limited to 'drivers/ide/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/au1xxx-ide.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/au1xxx-ide.c b/drivers/ide/au1xxx-ide.c index 239643806b97..549bbb2755a8 100644 --- a/drivers/ide/au1xxx-ide.c +++ b/drivers/ide/au1xxx-ide.c | |||
@@ -290,7 +290,6 @@ static int auide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd) | |||
290 | if (auide_build_dmatable(drive, cmd) == 0) | 290 | if (auide_build_dmatable(drive, cmd) == 0) |
291 | return 1; | 291 | return 1; |
292 | 292 | ||
293 | drive->waiting_for_dma = 1; | ||
294 | return 0; | 293 | return 0; |
295 | } | 294 | } |
296 | 295 | ||
@@ -315,16 +314,11 @@ static void auide_dma_host_set(ide_drive_t *drive, int on) | |||
315 | 314 | ||
316 | static void auide_ddma_tx_callback(int irq, void *param) | 315 | static void auide_ddma_tx_callback(int irq, void *param) |
317 | { | 316 | { |
318 | _auide_hwif *ahwif = (_auide_hwif*)param; | ||
319 | ahwif->drive->waiting_for_dma = 0; | ||
320 | } | 317 | } |
321 | 318 | ||
322 | static void auide_ddma_rx_callback(int irq, void *param) | 319 | static void auide_ddma_rx_callback(int irq, void *param) |
323 | { | 320 | { |
324 | _auide_hwif *ahwif = (_auide_hwif*)param; | ||
325 | ahwif->drive->waiting_for_dma = 0; | ||
326 | } | 321 | } |
327 | |||
328 | #endif /* end CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA */ | 322 | #endif /* end CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA */ |
329 | 323 | ||
330 | static void auide_init_dbdma_dev(dbdev_tab_t *dev, u32 dev_id, u32 tsize, u32 devwidth, u32 flags) | 324 | static void auide_init_dbdma_dev(dbdev_tab_t *dev, u32 dev_id, u32 tsize, u32 devwidth, u32 flags) |