aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/trm290.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/trm290.c')
-rw-r--r--drivers/ide/pci/trm290.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c
index e3d58c9f05e0..de750f7a43e9 100644
--- a/drivers/ide/pci/trm290.c
+++ b/drivers/ide/pci/trm290.c
@@ -177,10 +177,7 @@ static void trm290_selectproc (ide_drive_t *drive)
177 177
178static void trm290_dma_exec_cmd(ide_drive_t *drive, u8 command) 178static void trm290_dma_exec_cmd(ide_drive_t *drive, u8 command)
179{ 179{
180 BUG_ON(HWGROUP(drive)->handler != NULL); /* paranoia check */ 180 ide_execute_command(drive, command, &ide_dma_intr, WAIT_CMD, NULL);
181 ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL);
182 /* issue cmd to drive */
183 outb(command, IDE_COMMAND_REG);
184} 181}
185 182
186static int trm290_dma_setup(ide_drive_t *drive) 183static int trm290_dma_setup(ide_drive_t *drive)