diff options
author | Erik Troan <ewt@redhat.com> | 2000-12-11 21:10:00 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-12-11 21:10:00 +0000 |
commit | 33528e790c0e3b3e250f9f10f7d8f7306ecf83c2 (patch) | |
tree | cd67572a62d13ee8450180fc26034685a07156e7 | |
parent | ce7aeb26a545b871e7788fa4908321b8250533df (diff) | |
download | anaconda-33528e790c0e3b3e250f9f10f7d8f7306ecf83c2.tar.gz anaconda-33528e790c0e3b3e250f9f10f7d8f7306ecf83c2.tar.xz anaconda-33528e790c0e3b3e250f9f10f7d8f7306ecf83c2.zip |
need to reprobe ide bus after inserting modules
-rw-r--r-- | loader/loader.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/loader/loader.c b/loader/loader.c index 0bc2aa9a6..a746be611 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2437,7 +2437,8 @@ static int agpgartInitialize(moduleList modLoaded, moduleDeps modDeps, } static void ideSetup(moduleList modLoaded, moduleDeps modDeps, - moduleInfoSet modInfo, int flags) { + moduleInfoSet modInfo, int flags, + struct knownDevices * kd) { startNewt(flags); winStatus(40, 3, _("IDE"), _("Initializing IDE modules...")); @@ -2451,7 +2452,7 @@ static void ideSetup(moduleList modLoaded, moduleDeps modDeps, newtPopWindow(); - kdFindIdeList(&kd, CODE_PCMCIA); + kdFindIdeList(kd, CODE_PCMCIA); } int main(int argc, char ** argv) { @@ -2613,7 +2614,7 @@ int main(int argc, char ** argv) { /* Load the ide modules after letting the user specify a driver disk. This let's them override the ide drivers if they like. */ - ideSetup(modLoaded, modDeps, modInfo, flags); + ideSetup(modLoaded, modDeps, modInfo, flags, &kd); busProbe(modInfo, modLoaded, modDeps, probeOnly, &kd, flags); if (probeOnly) exit(0); @@ -2752,7 +2753,7 @@ int main(int argc, char ** argv) { /* We may already have these modules loaded, but trying again won't hurt. */ - ideSetup(modLoaded, modDeps, modInfo, flags); + ideSetup(modLoaded, modDeps, modInfo, flags, &kd); mlLoadModule("raid0", NULL, modLoaded, modDeps, NULL, modInfo, flags); mlLoadModule("raid1", NULL, modLoaded, modDeps, NULL, modInfo, flags); |