]> git.karo-electronics.de Git - linux-beck.git/commit
ide: allow host drivers to specify IRQ flags
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:27 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:27 +0000 (12:46 +0100)
commit255115fb35f80735c21a1cbe9809e9795a3af26e
tree55952820ef05e6f11c80c828b83a6cfdac366a84
parentc7db966bbbf216b336da921e5d7ba5b9c8467ac1
ide: allow host drivers to specify IRQ flags

* Add ->irq_flags field to struct ide_port_info and struct ide_host.

* Update host drivers and IDE PCI code to use ->irq_flags field.

* Convert init_irq() and ide_intr() to use host->irq_flags.

This fixes handling of shared IRQs for non-PCI hosts
and removes ugly ifdeffery from core IDE code.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
13 files changed:
drivers/ide/buddha.c
drivers/ide/delkin_cb.c
drivers/ide/falconide.c
drivers/ide/gayle.c
drivers/ide/ide-cs.c
drivers/ide/ide-io.c
drivers/ide/ide-probe.c
drivers/ide/macide.c
drivers/ide/q40ide.c
drivers/ide/scc_pata.c
drivers/ide/setup-pci.c
drivers/ide/sgiioc4.c
include/linux/ide.h