summaryrefslogtreecommitdiffstats
path: root/loader2/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/modules.c')
-rw-r--r--loader2/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/modules.c b/loader2/modules.c
index 158ee6a9a..1a69f3e2f 100644
--- a/loader2/modules.c
+++ b/loader2/modules.c
@@ -92,13 +92,13 @@ static int scsiDiskCount(void) {
struct device ** devices;
int i = 0;
- devices = probeDevices(CLASS_HD, BUS_SCSI, 0);
+ devices = probeDevices(CLASS_HD, BUS_SCSI, PROBE_LOADED);
if (devices) {
for (; devices[i]; i++);
free(devices);
}
/* have to probe for usb floppies too */
- devices = probeDevices(CLASS_FLOPPY, BUS_SCSI, 0);
+ devices = probeDevices(CLASS_FLOPPY, BUS_SCSI, PROBE_LOADED);
if (devices) {
for (; devices[i]; i++);
free(devices);