summaryrefslogtreecommitdiffstats
path: root/isys/isys.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-03 20:50:48 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-03 20:50:48 +0000
commit406dd58f0b17dfceef3742a247e85b2350529c04 (patch)
treed2ce5bd1f27b22895a372227570ab7a5300cb840 /isys/isys.h
parent4e66dcc22c1314c160a7e02f122f5f7df2039c3a (diff)
downloadanaconda-406dd58f0b17dfceef3742a247e85b2350529c04.tar.gz
anaconda-406dd58f0b17dfceef3742a247e85b2350529c04.tar.xz
anaconda-406dd58f0b17dfceef3742a247e85b2350529c04.zip
remove module stuff that doesn't make sense in isys; it's only used by the loader
Diffstat (limited to 'isys/isys.h')
-rw-r--r--isys/isys.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/isys/isys.h b/isys/isys.h
index 38fb0358e..7f594543c 100644
--- a/isys/isys.h
+++ b/isys/isys.h
@@ -7,46 +7,6 @@
#define MIN_GUI_RAM 48000
#define EARLY_SWAP_RAM 72000
-enum driverMajor { DRIVER_NONE = 0, DRIVER_SCSI, DRIVER_NET, DRIVER_CDROM,
- DRIVER_PCMCIA, DRIVER_FS, DRIVER_OTHER = 1000};
-enum driverMinor { DRIVER_MINOR_NONE = 0, DRIVER_MINOR_ETHERNET,
- DRIVER_MINOR_PLIP, DRIVER_MINOR_TR };
-
-struct moduleArg {
- char * arg;
- char * description;
-};
-
-#define MI_FLAG_NOMISCARGS (1 << 0)
-
-struct moduleInfo {
- char * moduleName;
- char * description;
- enum driverMajor major;
- enum driverMinor minor;
- int numArgs;
- struct moduleArg * args;
- int flags;
- void * locationID;
-};
-
-struct moduleInfoSet_s {
- struct moduleInfo * moduleList;
- int numModules;
-};
-
-typedef struct moduleInfoSet_s * moduleInfoSet;
-
-moduleInfoSet isysNewModuleInfoSet(void);
-void isysFreeModuleInfoSet(moduleInfoSet mis);
-int isysReadModuleInfo(const char * filename, moduleInfoSet mis, void * path);
-struct moduleInfo * isysFindModuleInfo(moduleInfoSet mis,
- const char * moduleName);
-
-/* NULL moduleName indicates the end of the list; the list must be freed() */
-struct moduleInfo * isysGetModuleList(moduleInfoSet mis,
- enum driverMajor major);
-
/* returns -2 for errno, -1 for unknown device */
int devMakeInode(char * devName, char * path);