summaryrefslogtreecommitdiffstats
path: root/loader/modules.h
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-03-06 21:49:49 +0000
committerErik Troan <ewt@redhat.com>2001-03-06 21:49:49 +0000
commit1d36b0bd06cc50bc1523d3896eb175cf7a2543ec (patch)
tree10c85932b18df590f326c074ae6366f1048bf37f /loader/modules.h
parenta04ff25160736a690912c51de6110a2c7bf63a61 (diff)
downloadanaconda-1d36b0bd06cc50bc1523d3896eb175cf7a2543ec.tar.gz
anaconda-1d36b0bd06cc50bc1523d3896eb175cf7a2543ec.tar.xz
anaconda-1d36b0bd06cc50bc1523d3896eb175cf7a2543ec.zip
make a copy of driver major/minor types to we don't need modinfo around
to write out modules.conf
Diffstat (limited to 'loader/modules.h')
-rw-r--r--loader/modules.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/loader/modules.h b/loader/modules.h
index 12d524d99..7f7902eaf 100644
--- a/loader/modules.h
+++ b/loader/modules.h
@@ -1,6 +1,8 @@
#ifndef H_MODULES
#define H_MODULES
+#include "isys/isys.h"
+
typedef struct moduleList_s * moduleList;
typedef struct moduleDependency_s * moduleDeps;
@@ -10,6 +12,8 @@ struct loadedModuleInfo {
int weLoaded;
char * path;
int firstDevNum, lastDevNum; /* only used for ethernet currently */
+ enum driverMajor major;
+ enum driverMinor minor;
};
struct moduleList_s {
@@ -27,6 +31,6 @@ int mlLoadModule(char * modName, void * location, moduleList modLoaded,
int flags);
char ** mlGetDeps(moduleDeps modDeps, const char * modName);
int mlModuleInList(const char * modName, moduleList list);
-int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd);
+int mlWriteConfModules(moduleList list, int fd);
#endif