aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:45 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:45 -0400
commitf87904898e91923a91b925078ac933f05076c7fd (patch)
treebd4488b5510f8b67d4b2f92bd1d8616472076eee /drivers/ide/ide.c
parentb9103da463f72d03c513acdb18f1aebd7931ed1e (diff)
ide-disk: move all ioctl handling to ide-disk_ioctl.c
While at it: - idedisk_ioctl() -> ide_disk_ioctl() Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 73e1cc5839d3..a498245dc213 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -392,13 +392,10 @@ static int set_unmaskirq(ide_drive_t *drive, int arg)
392 return 0; 392 return 0;
393} 393}
394 394
395#define ide_gen_devset_rw(_name, _func) \ 395ide_ext_devset_rw_sync(io_32bit, io_32bit);
396__IDE_DEVSET(_name, DS_SYNC, get_##_func, set_##_func) 396ide_ext_devset_rw_sync(keepsettings, ksettings);
397 397ide_ext_devset_rw_sync(unmaskirq, unmaskirq);
398ide_gen_devset_rw(io_32bit, io_32bit); 398ide_ext_devset_rw_sync(using_dma, using_dma);
399ide_gen_devset_rw(keepsettings, ksettings);
400ide_gen_devset_rw(unmaskirq, unmaskirq);
401ide_gen_devset_rw(using_dma, using_dma);
402__IDE_DEVSET(pio_mode, DS_SYNC, NULL, set_pio_mode); 399__IDE_DEVSET(pio_mode, DS_SYNC, NULL, set_pio_mode);
403 400
404static int generic_ide_suspend(struct device *dev, pm_message_t mesg) 401static int generic_ide_suspend(struct device *dev, pm_message_t mesg)