]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix too early probing of default IDE ports
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sat, 7 Feb 2004 08:43:26 +0000 (00:43 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 7 Feb 2004 08:43:26 +0000 (00:43 -0800)
It was broken by IDE modular fixes in 2.6.2.

drivers/ide/ide.c

index 8ffdd45a15c4bed58d94d5835c907fd728ea9b7c..bdad8f873bc82199346881c241324d0ca38f9812 100644 (file)
@@ -299,7 +299,9 @@ static void __init init_ide_data (void)
                init_hwif_data(index);
 
        /* Add default hw interfaces */
+       initializing = 1;
        ide_init_default_hwifs();
+       initializing = 0;
 
        idebus_parameter = 0;
        system_bus_speed = 0;