linux/drivers/ide
Borislav Petkov 2207fa5af1 ide-floppy: use drive->pc_callback instead of pc->callback
It is important that drive->pc_callback is set prior to enabling IRQs on the
device since this is called from the IRQ handler. Otherwise it hurts as I learnt
the hard way from the several "Kernel panic - not synching: Fatal exception in
interrupt" during the weekend :).

The if-else block in the IRQ handler is only temporary so that bisect searches
don't break and it'll be removed after converting the remainder of the drivers.

There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-23 19:55:59 +02:00
..
arm ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
h8300 ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
legacy ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
mips ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
pci ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
ppc ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-acpi.c ide: remove obsoleted "ide=" kernel parameters 2008-07-15 21:21:47 +02:00
ide-atapi.c ide-floppy: use drive->pc_callback instead of pc->callback 2008-07-23 19:55:59 +02:00
ide-cd_ioctl.c ide-cd: convert ide_do_drive_cmd path to use blk_execute_rq 2008-07-15 21:21:42 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-cd.h ide-cd: remove ide_cd_init_rq 2008-07-15 21:21:45 +02:00
ide-disk.c ide: remove dead Virtual DMA support 2008-07-23 19:55:55 +02:00
ide-dma.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-floppy.c ide-floppy: use drive->pc_callback instead of pc->callback 2008-07-23 19:55:59 +02:00
ide-generic.c ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
ide-io.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-iops.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-lib.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-probe.c ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
ide-proc.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c drivers/ide/ide-tape.c: remove double kfree 2008-07-23 19:55:59 +02:00
ide-taskfile.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-timings.c ide: move ide_pio_cycle_time() to ide-timings.c 2008-07-16 20:33:39 +02:00
ide.c ide: allocate ide_hwif_t instances dynamically 2008-07-23 19:55:58 +02:00
Kconfig ide: mark hpt34x host driver as BROKEN 2008-07-23 19:55:55 +02:00
Makefile move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
setup-pci.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00