summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-10-17 00:53:02 +0000
committerErik Troan <ewt@redhat.com>2001-10-17 00:53:02 +0000
commit2da50675d75deeace3fb62a2c0bc514a5c34c2be (patch)
tree01f648a93f3780add145cbf2ba7f9d34b15cb2bc /loader/modules.c
parent957abc1fe5063010d00d50818857c497178c8681 (diff)
downloadanaconda-2da50675d75deeace3fb62a2c0bc514a5c34c2be.tar.gz
anaconda-2da50675d75deeace3fb62a2c0bc514a5c34c2be.tar.xz
anaconda-2da50675d75deeace3fb62a2c0bc514a5c34c2be.zip
moved display of scsiWindow() to right around the insmod (makes multiple
module installation cleaner)
Diffstat (limited to 'loader/modules.c')
-rw-r--r--loader/modules.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/loader/modules.c b/loader/modules.c
index 68d10cc0c..1f9b1d3cd 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -22,6 +22,7 @@
#include "misc.h"
#include "modules.h"
#include "devices.h"
+#include "windows.h"
struct moduleDependency_s {
char * name;
@@ -300,6 +301,7 @@ static int loadModule(const char * modName, char * path, moduleList modLoaded,
int ethDevices = -1;
pid_t child;
int status;
+ int popWindow = 0;
if (mlModuleInList(modName, modLoaded))
return 0;
@@ -308,6 +310,11 @@ static int loadModule(const char * modName, char * path, moduleList modLoaded,
if (mi->major == DRIVER_NET && mi->minor == DRIVER_MINOR_ETHERNET) {
ethDevices = ethCount();
}
+
+ if (mi->major == DRIVER_SCSI) {
+ scsiWindow(modName);
+ popWindow = 1;
+ }
}
sprintf(fileName, "%s.o", modName);
@@ -375,6 +382,11 @@ static int loadModule(const char * modName, char * path, moduleList modLoaded,
modLoaded->mods[modLoaded->numModules++].args = newArgs;
}
+ if (popWindow) {
+ sleep(1);
+ newtPopWindow();
+ }
+
return rc;
}