summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/probing.c')
-rw-r--r--mdk-stage1/probing.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index d67719041..88b406b8a 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -49,13 +49,23 @@
#include "probing.h"
+enum bus_type { IDE, SCSI };
+
+struct media_info {
+ char * name;
+ char * model;
+ enum media_type type;
+ enum bus_type bus;
+};
+
+
static void warning_insmod_failed(void)
{
error_message("Warning, installation of driver failed.");
}
-void probe_that_type(enum driver_type type)
+static void probe_that_type(enum driver_type type)
{
if (IS_EXPERT)
ask_insmod(type);