summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/modules.h')
-rw-r--r--mdk-stage1/modules.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/mdk-stage1/modules.h b/mdk-stage1/modules.h
index b1c921b01..1a6d8753f 100644
--- a/mdk-stage1/modules.h
+++ b/mdk-stage1/modules.h
@@ -1,7 +1,7 @@
/*
- * Guillaume Cottenceau (gc@mandrakesoft.com)
+ * Guillaume Cottenceau (gc)
*
- * Copyright 2000 MandrakeSoft
+ * Copyright 2000 Mandriva
*
* This software may be freely redistributed under the terms of the GNU
* public license.
@@ -18,15 +18,20 @@
#include "stage1.h"
#include "probing.h"
+enum insmod_return { INSMOD_OK, INSMOD_FAILED, INSMOD_FAILED_FILE_NOT_FOUND };
+
void init_modules_insmoding(void);
-int my_insmod(const char * mod_name, enum driver_type type, char * options);
+void init_firmware_loader(void);
+int insmod_local_file(char * path, char * options);
+enum insmod_return my_modprobe(const char * mod_name, enum driver_type type, char * options);
enum return_type ask_insmod(enum driver_type);
+int module_already_present(const char * name);
-struct module_deps_elem {
- char * name;
- char ** deps;
+struct module_descr_elem {
+ char * modname;
+ char * description;
};
-
+extern int disable_modules;
#endif