summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 17:29:36 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 17:29:36 +0000
commit73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84 (patch)
treec06820ea88dbad413282ca3d0ee22e5f3fe2d539
parent3fb87afe059359b661bfa0be4bdf4125f07a5050 (diff)
downloaddrakx-73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84.tar
drakx-73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84.tar.gz
drakx-73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84.tar.bz2
drakx-73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84.tar.xz
drakx-73d06577ed0b8f266dcf8d8dd824d5c8bb6faa84.zip
(handle_hid) s/hid-generic/hid_generic/ thus making hid_generic loading silent
rationale: it fixes detecting if module was already loaded or not
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/stage1.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 92db768c2..daee5ab00 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- silent hid_generic loading
+
1.70
- mount /dev as devtmpfs (pok, mdv)
- rely on /sys being created in images
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index c8728ea16..be9b08301 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -250,7 +250,7 @@ static void handle_hid(void)
if (entry_list.entries[i].module != NULL)
my_insmod(entry_list.entries[i].module, ANY_DRIVER_TYPE, NULL, 0);
}
- my_insmod("hid-generic", ANY_DRIVER_TYPE, NULL, 0);
+ my_insmod("hid_generic", ANY_DRIVER_TYPE, NULL, 0);
}