summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-08 11:37:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-08 11:37:30 +0000
commit51637cc2e6a2e158f3ede301c8f16eb915515ab5 (patch)
treedbfcf3cf7215e001776e63a4f74af44c1e629c39 /mdk-stage1
parent62aeac2fdc4433c91c68c342c72ea8659591c07d (diff)
downloaddrakx-51637cc2e6a2e158f3ede301c8f16eb915515ab5.tar
drakx-51637cc2e6a2e158f3ede301c8f16eb915515ab5.tar.gz
drakx-51637cc2e6a2e158f3ede301c8f16eb915515ab5.tar.bz2
drakx-51637cc2e6a2e158f3ede301c8f16eb915515ab5.tar.xz
drakx-51637cc2e6a2e158f3ede301c8f16eb915515ab5.zip
new kernel doesn't like usbdevfs any more, it wants usbfs
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/probing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 37e55b542..7c67fdfb9 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -323,7 +323,8 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
if (!already_mounted_usbdev) {
already_mounted_usbdev = 1;
- if (mount("/proc/bus/usb", "/proc/bus/usb", "usbdevfs", 0, NULL)) {
+ if (mount("none", "/proc/bus/usb", "usbfs", 0, NULL) &&
+ mount("none", "/proc/bus/usb", "usbdevfs", 0, NULL)) {
log_message("USB: couldn't mount /proc/bus/usb");
goto end_usb_probe;
}