summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-23 12:30:30 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-23 12:30:30 +0000
commit7f5ba91f5a39d72f320f337749fb08cd762f0a00 (patch)
treedde68c1c2f2e54f3acbfdda222eacdeaaf473763 /mdk-stage1/probing.c
parente9943abec27d5e244f3c3e86ae4905356ab67e85 (diff)
downloaddrakx-7f5ba91f5a39d72f320f337749fb08cd762f0a00.tar
drakx-7f5ba91f5a39d72f320f337749fb08cd762f0a00.tar.gz
drakx-7f5ba91f5a39d72f320f337749fb08cd762f0a00.tar.bz2
drakx-7f5ba91f5a39d72f320f337749fb08cd762f0a00.tar.xz
drakx-7f5ba91f5a39d72f320f337749fb08cd762f0a00.zip
kill long dead argument
the "Additional Drivers floppy" is long dead
Diffstat (limited to 'mdk-stage1/probing.c')
-rw-r--r--mdk-stage1/probing.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 224bf42ea..1cdadd591 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -272,10 +272,10 @@ void discovered_device(enum driver_type type, const char * description, const ch
if (type == MEDIA_ADAPTERS) {
const char * alternate = NULL;
wait_message("Loading driver for media adapter:\n \n%s", description);
- failed = my_modprobe(driver, MEDIA_ADAPTERS, NULL, 1);
+ failed = my_modprobe(driver, MEDIA_ADAPTERS, NULL);
alternate = get_alternate_module(driver);
if (!IS_NOAUTO && alternate) {
- failed = failed || my_modprobe(alternate, MEDIA_ADAPTERS, NULL, 1);
+ failed = failed || my_modprobe(alternate, MEDIA_ADAPTERS, NULL);
}
remove_wait_message();
warning_insmod_failed(failed);
@@ -285,7 +285,7 @@ void discovered_device(enum driver_type type, const char * description, const ch
if (type == NETWORK_DEVICES) {
wait_message("Loading driver for network device:\n \n%s", description);
prepare_intf_descr(description);
- failed = my_modprobe(driver, NETWORK_DEVICES, NULL, 1);
+ failed = my_modprobe(driver, NETWORK_DEVICES, NULL);
warning_insmod_failed(failed);
remove_wait_message();
if (intf_descr_for_discover) /* for modules providing more than one net intf */
@@ -295,7 +295,7 @@ void discovered_device(enum driver_type type, const char * description, const ch
#ifdef ENABLE_USB
if (type == USB_CONTROLLERS)
/* we can't allow additional modules floppy since we need usbhid for keystrokes of usb keyboards */
- failed = my_modprobe(driver, USB_CONTROLLERS, NULL, 0);
+ failed = my_modprobe(driver, USB_CONTROLLERS, NULL);
#endif
}
@@ -337,7 +337,7 @@ void probe_virtio_modules(void)
if (e->vendor == VIRTIO_PCI_VENDOR) {
if (!loaded_pci) {
log_message("loading virtio-pci");
- my_modprobe("virtio_pci", ANY_DRIVER_TYPE, NULL, 0);
+ my_modprobe("virtio_pci", ANY_DRIVER_TYPE, NULL);
loaded_pci = 1;
}
@@ -360,7 +360,7 @@ void probe_virtio_modules(void)
}
if (name) {
log_message("virtio: loading %s", name);
- my_modprobe(name, ANY_DRIVER_TYPE, options, 0);
+ my_modprobe(name, ANY_DRIVER_TYPE, options);
}
}
}
@@ -431,7 +431,7 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
already_mounted_usbdev = 1;
wait_message("Detecting USB devices.");
sleep(4); /* sucking background work */
- my_modprobe("usbhid", ANY_DRIVER_TYPE, NULL, 0);
+ my_modprobe("usbhid", ANY_DRIVER_TYPE, NULL);
remove_wait_message();
}
@@ -546,9 +546,9 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
already_probed_usb_controllers && !already_loaded_usb_scsi) {
already_loaded_usb_scsi = 1;
/* we can't allow additional modules floppy since we need usbkbd for keystrokes of usb keyboards */
- my_modprobe("usb_storage", MEDIA_ADAPTERS, NULL, 0);
+ my_modprobe("usb_storage", MEDIA_ADAPTERS, NULL);
if (module_already_present("ieee1394"))
- my_modprobe("sbp2", MEDIA_ADAPTERS, NULL, 0);
+ my_modprobe("sbp2", MEDIA_ADAPTERS, NULL);
wait_message("Detecting USB mass-storage devices.");
#ifndef DEBUG
sleep(10); /* sucking background work */