Geert Uytterhoeven
aa07573b2b
ide: Fix host drivers that need IRQF_SHARED
...
commit 255115fb35 ("ide: allow host drivers to
specify IRQ flags") added irq_flags fields to struct ide_port_info and struct
ide_host. Drivers can now set ide_port_info.irq_flags = IRQF_SHARED, while
init_irq() passes ide_host.irq_flags to request_irq().
Unfortunately ide_host.irq_flags is never set, causing (on ARAnyM):
| Uniform Multi-Platform E-IDE driver
| ide: Falcon IDE controller
| Probing IDE interface ide0...
| hda: Sarge m68k, ATA DISK drive
| init_irq: sa = 0
| ide0: disabled, unable to get IRQ 15
| ide0: failed to initialize IDE interface
| ide0: disabling port
Solve this by copying ide_port_info.irq_flags to ide_host.irq_flags in
ide_host_alloc().
This bug probably affects the following IDE host drivers:
- buddha
- delkin_cb
- falconide
- gayle
- ide-cs
- macide
- q40ide
- scc_pata
- sgiioc4
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-04-08 14:12:47 +02:00
..
aec62xx.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
ali14xx.c
alim15x3.c
ide: add ->dma_check method
2009-03-31 20:15:21 +02:00
amd74xx.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
at91_ide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
atiixp.c
ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS
2009-03-24 23:22:52 +01:00
au1xxx-ide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
buddha.c
ide: allow host drivers to specify IRQ flags
2009-03-27 12:46:27 +01:00
cmd64x.c
ide: set/clear drive->waiting_for_dma flag in the core code
2009-03-31 20:15:22 +02:00
cmd640.c
cmd640: use ide_get_pair_dev() helper
2009-01-06 17:20:55 +01:00
cs5520.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
2009-04-07 08:31:11 -07:00
cs5530.c
ide: identify data word 53 bit 1 doesn't cover words 62 and 63 (take 3)
2009-03-31 20:15:27 +02:00
cs5535.c
cs5536.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
cy82c693.c
ide: remove HWIF() macro
2009-01-06 17:20:52 +01:00
delkin_cb.c
ide: allow host drivers to specify IRQ flags
2009-03-27 12:46:27 +01:00
dtc2278.c
ide: add IDE_HFLAG_DTC2278 host flag
2009-03-27 12:46:28 +01:00
falconide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
gayle.c
ide: remove CONFIG_BLK_DEV_IDEDOUBLER config option
2009-03-31 20:15:26 +02:00
hpt366.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
ht6560b.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
icside.c
ide: set/clear drive->waiting_for_dma flag in the core code
2009-03-31 20:15:22 +02:00
ide-4drives.c
ide: add IDE_HFLAG_4DRIVES host flag
2009-03-27 12:46:28 +01:00
ide-acpi.c
ide: remove ide_task_t typedef
2009-03-27 12:46:37 +01:00
ide-atapi.c
ide-floppy: do not complete rq's prematurely
2009-03-31 20:15:34 +02:00
ide-cd.c
ide: sanitize ide_build_sglist() and ide_destroy_dmatable()
2009-03-31 20:15:24 +02:00
ide-cd.h
ide-cd: use ide_drive_t's rq in cdrom_queue_request_sense
2009-03-27 12:46:24 +01:00
ide-cd_ioctl.c
ide-cd_verbose.c
ide-cs.c
ide: allow host drivers to specify IRQ flags
2009-03-27 12:46:27 +01:00
ide-devsets.c
ide: remove ide_end_request()
2009-03-27 12:46:45 +01:00
ide-disk.c
ide-disk: use ATA_ERR
2009-03-31 20:15:29 +02:00
ide-disk.h
ide-disk_ioctl.c
ide-disk_proc.c
ide: use ata_tf_protocols enums
2009-03-27 12:46:39 +01:00
ide-dma-sff.c
ide: identify data word 53 bit 1 doesn't cover words 62 and 63 (take 3)
2009-03-31 20:15:27 +02:00
ide-dma.c
ide: add support for CFA specified transfer modes (take 3)
2009-03-31 20:15:28 +02:00
ide-eh.c
ide: inline SELECT_DRIVE()
2009-03-31 20:15:33 +02:00
ide-floppy.c
ide-floppy: use ide_pio_bytes()
2009-03-31 20:15:26 +02:00
ide-floppy.h
ide-floppy_ioctl.c
ide: decrease size of ->pc_buf field in struct ide_atapi_pc
2009-03-31 20:15:25 +02:00
ide-floppy_proc.c
ide: NULL noise: drivers/ide/ide-*.c
2009-03-05 16:10:56 +01:00
ide-gd.c
ide: remove ->end_request method
2009-03-27 12:46:36 +01:00
ide-gd.h
ide: move ->failed_pc to ide_drive_t
2009-03-27 12:46:34 +01:00
ide-generic.c
ide: merge ide_arm and ide_generic host drivers
2009-03-31 20:15:24 +02:00
ide-h8300.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
ide-io-std.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
ide-io.c
ide: inline SELECT_DRIVE()
2009-03-31 20:15:33 +02:00
ide-ioctls.c
ide: use ata_tf_protocols enums
2009-03-27 12:46:39 +01:00
ide-iops.c
ide: inline SELECT_DRIVE()
2009-03-31 20:15:33 +02:00
ide-legacy.c
ide-lib.c
ide: remove ide_task_t typedef
2009-03-27 12:46:37 +01:00
ide-park.c
ide: use ide_complete_cmd() for REQ_UNPARK_HEADS
2009-03-27 12:46:42 +01:00
ide-pci-generic.c
ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS
2009-03-24 23:22:52 +01:00
ide-pio-blacklist.c
ide-pm.c
ide: inline SELECT_DRIVE()
2009-03-31 20:15:33 +02:00
ide-pnp.c
ide-pnp: use struct ide_port_info
2009-03-27 12:46:18 +01:00
ide-probe.c
ide: Fix host drivers that need IRQF_SHARED
2009-04-08 14:12:47 +02:00
ide-proc.c
ide: remove ide_task_t typedef
2009-03-27 12:46:37 +01:00
ide-scan-pci.c
ide-sysfs.c
ide-tape.c
ide-{floppy,tape}: fix padding for PIO transfers
2009-03-31 20:15:26 +02:00
ide-taskfile.c
ide: move data register access out of tf_{read|load}() methods (take 2)
2009-03-31 20:15:31 +02:00
ide-timings.c
ide: add support for CFA specified transfer modes (take 3)
2009-03-31 20:15:28 +02:00
ide-xfer-mode.c
ide: add support for CFA specified transfer modes (take 3)
2009-03-31 20:15:28 +02:00
ide.c
ide: move device settings code to ide-devsets.c
2009-03-24 23:22:44 +01:00
ide_platform.c
it821x.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
it8172.c
Resurrect IT8172 IDE controller driver
2009-01-06 17:21:01 +01:00
it8213.c
ide: remove HWIF() macro
2009-01-06 17:20:52 +01:00
jmicron.c
Kconfig
ide: be able to build pmac driver without IDE built-in
2009-03-31 20:15:34 +02:00
macide.c
ide: allow host drivers to specify IRQ flags
2009-03-27 12:46:27 +01:00
Makefile
ide: merge ide_arm and ide_generic host drivers
2009-03-31 20:15:24 +02:00
ns87415.c
ide: inline SELECT_DRIVE()
2009-03-31 20:15:33 +02:00
opti621.c
palm_bk3710.c
IDE: palm_bk3710: use ioremap instead of arch-specific IO_ADDRESS()
2009-03-27 12:46:23 +01:00
pdc202xx_new.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
pdc202xx_old.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
piix.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
pmac.c
ide-pmac: IDE cable detection on Apple PowerBook
2009-03-31 20:15:34 +02:00
q40ide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
qd65xx.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
qd65xx.h
Fix my email address in qd65xx.[ch]/pata_qdi.c
2009-02-03 16:53:56 -08:00
rapide.c
rz1000.c
sc1200.c
ide: identify data word 53 bit 1 doesn't cover words 62 and 63 (take 3)
2009-03-31 20:15:27 +02:00
scc_pata.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
serverworks.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
setup-pci.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
2009-04-07 08:31:11 -07:00
sgiioc4.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
siimage.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
sis5513.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00
sl82c105.c
ide: add support for CFA specified transfer modes (take 3)
2009-03-31 20:15:28 +02:00
slc90e66.c
ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS
2009-03-24 23:22:52 +01:00
tc86c001.c
ide: add ->dma_clear method and remove ->dma_timeout one
2009-03-31 20:15:19 +02:00
triflex.c
ide: remove HWIF() macro
2009-01-06 17:20:52 +01:00
trm290.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
tx4938ide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
tx4939ide.c
ide: turn selectproc() method into dev_select() method (take 5)
2009-03-31 20:15:32 +02:00
umc8672.c
via82cxxx.c
ide: fix ->init_chipset method to return 'int' value
2009-03-24 23:22:53 +01:00