summaryrefslogtreecommitdiffstats
path: root/loader2/hardware.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/hardware.c')
-rw-r--r--loader2/hardware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/hardware.c b/loader2/hardware.c
index 53f01b465..ef4430823 100644
--- a/loader2/hardware.c
+++ b/loader2/hardware.c
@@ -40,9 +40,9 @@ static int detectHardware(moduleInfoSet modInfo,
devices = probeDevices(CLASS_UNSPEC,
BUS_PCI | BUS_SBUS |
- (has_pcmcia() ? BUS_PCMCIA : 0),
+ ((has_pcmcia() >= 0) ? BUS_PCMCIA : 0),
PROBE_ALL);
-
+
logMessage("finished bus probing");
if (devices == NULL) {