commit | 2e13093a834ddbbf92701d477e69c9018959a82c | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Jan 26 20:13:04 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Jan 26 20:13:04 2008 +0100 |
tree | e21987d2548594fef87b809da462088acad7c58a | |
parent | ba6560aa45fc498125b07130784ec5ca8a6922a6 [diff] |
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>