summaryrefslogtreecommitdiffstats
path: root/loader2/modules.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-12 19:13:27 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-12 19:13:27 +0000
commitf6d15e12abff14b7db3ebb0a6a25f49d5cbd48bb (patch)
treeb9a90d5e2cc9a833e1a745a3bde9ac5339af6bea /loader2/modules.c
parent898d8412fed61531207fa29f2cbe9af2b4a9b72c (diff)
downloadanaconda-f6d15e12abff14b7db3ebb0a6a25f49d5cbd48bb.tar.gz
anaconda-f6d15e12abff14b7db3ebb0a6a25f49d5cbd48bb.tar.xz
anaconda-f6d15e12abff14b7db3ebb0a6a25f49d5cbd48bb.zip
use PROBE_LOADED as appropriate (it only really does anything for network
cards right now, but it could be relevant for other probes in the future)
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);