ide: add ->set_irq method
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:52 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:52 +0000 (19:55 +0200)
commit6e6afb3b7401f0181da74a1add57f126946b43e6
tree2ca80a7fa25a387b5f3d479d9e94b1339ee440ac
parent1f6d8a0fd8f6cc5ee2219a8cf9b2da16dfd67397
ide: add ->set_irq method

Add ->set_irq method for setting nIEN bit of ATA Device Control
register and use it instead of ide_set_irq().

While at it:

* Use ->set_irq in init_irq() and do_reset1().

* Don't use HWIF() macro in ide_check_pm_state().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
drivers/ide/ide-iops.c
drivers/ide/ide-probe.c
drivers/ide/ide-taskfile.c
drivers/ide/pci/scc_pata.c
drivers/ide/ppc/pmac.c
include/linux/ide.h