android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 2e13093a83 ide: fix probing for hosts with serialized or IRQ sharing interfaces
After hwif_register_devices() IDE devices are ready to be used so
the way in which ide_device_add() works currently is racy for hosts
with serialized / IRQ sharing interfaces.

Fix ide_device_add() by looping over interfaces for probe_hwif(),
hwif_init() and hwif_register_devices() operations.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-26 20:13:04 +01:00
..
arm ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
cris ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy ali14xx: constify __initdata 2007-11-27 21:35:57 +01:00
mips ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
pci ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
ppc ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
ide-acpi.c ide: remove unnecessary writes to HOB taskfile registers 2008-01-25 22:17:10 +01:00
ide-cd.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide: dump taskfile HOB registers in ide_tf_load() (if DEBUG is defined) 2008-01-26 20:13:03 +01:00
ide-dma.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
ide-floppy.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-generic.c
ide-io.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
ide-iops.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
ide-lib.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c ide: fix probing for hosts with serialized or IRQ sharing interfaces 2008-01-26 20:13:04 +01:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-taskfile.c ide: dump taskfile HOB registers in ide_tf_load() (if DEBUG is defined) 2008-01-26 20:13:03 +01:00
ide-timing.h
ide.c ide: don't try to unregister interfaces if 'initializing' in ide_register_hw() 2008-01-26 20:13:03 +01:00
Kconfig ide: remove CONFIG_IDEPCI_SHARE_IRQ config option 2008-01-25 22:17:08 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00