From 7d8e3589a5a82982ecf0030c12ed5d294842c88c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 3 Apr 2009 17:48:14 +0000 Subject: Load HID modules in stage1, fixes #47167 --- mdk-stage1/stage1.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mdk-stage1') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 7c460036b..2c7bfdc83 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "stage1.h" @@ -242,6 +243,18 @@ static void handle_pcmcia(void) } #endif +static void handle_hid(void) +{ + struct hid_entries entry_list; + unsigned int i; + + entry_list = hid_probe(); + for (i = 0; i < entry_list.nb; i++) { + if (entry_list.entries[i].module != NULL) + my_insmod(entry_list.entries[i].module, ANY_DRIVER_TYPE, NULL, 0); + } +} + /************************************************************ */ @@ -424,6 +437,8 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) handle_pcmcia(); #endif + handle_hid(); + if (IS_CHANGEDISK) stg1_info_message("You are starting the installation with an alternate booting method. " "Please change your disk, and insert the Installation disk."); -- cgit v1.2.1