1
linux/drivers/ide
Bartlomiej Zolnierkiewicz 1024c5f4be ide: IDE_HFLAG_SERIALIZE_DMA bugfix
Patch re-ordering could be harmful:

commit 1fd1890594
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date:   Sat Apr 26 22:25:24 2008 +0200

    ide: add IDE_HFLAG_SERIALIZE_DMA host flag
...

is buggy because ->init_dma method / ide_hwif_setup_dma() is called
before IDE_HFLAG_SERIALIZE_DMA host flag is checked.

Fix it by checking IDE_HFLAG_SERIALIZE[_DMA] after DMA initialization.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-05-04 17:03:41 +02:00
..
arm ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
h8300 ide: remove ->INW and ->OUTW methods 2008-04-28 23:44:41 +02:00
legacy ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
mips ide: remove ->INS{W,L} and ->OUTS{W,L} methods 2008-04-28 23:44:37 +02:00
pci alim15x3: disable init_hwif_ali15x3 for PowerPC 2008-04-29 22:57:38 +02:00
ppc ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
ide-acpi.c ide: add "noacpi" / "acpigtf" / "acpionboot" parameters 2008-04-27 15:38:30 +02:00
ide-cd_ioctl.c
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c
ide-dma.c ide: remove ->dma_prdtable field from ide_hwif_t 2008-04-28 23:44:42 +02:00
ide-floppy.c ide: add ide_pad_transfer() helper 2008-04-28 23:44:41 +02:00
ide-generic.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-io.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-iops.c ide: add TSSTcorp CDDVDW SH-S202H to ivb_list[] 2008-04-28 23:44:43 +02:00
ide-lib.c ide: add ->tf_load and ->tf_read methods 2008-04-28 23:44:40 +02:00
ide-pnp.c ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) 2008-04-27 15:38:31 +02:00
ide-probe.c ide: IDE_HFLAG_SERIALIZE_DMA bugfix 2008-05-04 17:03:41 +02:00
ide-proc.c drivers: use non-racy method for proc entries creation (2) 2008-04-29 08:06:22 -07:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-taskfile.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-timing.h
ide.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
Kconfig remove the broken ETRAX_IDE driver 2008-04-28 23:44:42 +02:00
Makefile remove the broken ETRAX_IDE driver 2008-04-28 23:44:42 +02:00
setup-pci.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00