summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/probing.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 16b52fabb..033fb44bc 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -512,10 +512,9 @@ void find_media(enum media_bus bus)
if (medias)
free(medias); /* that does not free the strings, by the way */
- if (bus == BUS_SCSI || bus == BUS_USB || bus == BUS_PCMCIA || bus == BUS_ANY) {
- log_message("looking for media adapters");
- probe_that_type(SCSI_ADAPTERS, bus);
- }
+ log_message("looking for media adapters");
+ probe_that_type(MEDIA_ADAPTERS, bus);
+
/* ----------------------------------------------- */
if (bus != BUS_IDE && bus != BUS_ANY)
goto find_media_after_ide;