summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-16 21:20:50 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-16 21:20:50 +0000
commita2bbe4b81e58567ec8f9d80d42a496ce07d3893a (patch)
tree633e3acd640a0c6d8bfce778697ff0132a98dc02 /mdk-stage1
parent4f36dc940989d2a81d98506468587a59e922417e (diff)
downloaddrakx-backup-do-not-use-a2bbe4b81e58567ec8f9d80d42a496ce07d3893a.tar
drakx-backup-do-not-use-a2bbe4b81e58567ec8f9d80d42a496ce07d3893a.tar.gz
drakx-backup-do-not-use-a2bbe4b81e58567ec8f9d80d42a496ce07d3893a.tar.bz2
drakx-backup-do-not-use-a2bbe4b81e58567ec8f9d80d42a496ce07d3893a.tar.xz
drakx-backup-do-not-use-a2bbe4b81e58567ec8f9d80d42a496ce07d3893a.zip
load ide-floppy when detecting floppies
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/NEWS1
-rw-r--r--mdk-stage1/tools.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index c7f2a39c7..bb096d21a 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,4 +1,5 @@
- load ide-disk when detecting disks (ide is now modularized...)
+- load ide-floppy when detecting floppies
1.9:
- ide is now modularized
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 4a3f0c067..828b23f69 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -311,6 +311,7 @@ char * floppy_device(void)
{
char ** names, ** models;
int fd;
+ my_insmod("ide-floppy", ANY_DRIVER_TYPE, NULL, 0);
my_insmod("floppy", ANY_DRIVER_TYPE, NULL, 0);
fd = open("/dev/fd0", O_RDONLY|O_NONBLOCK);
if (fd != -1) {