diff options
Diffstat (limited to 'loader')
-rw-r--r-- | loader/modules.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/modules.c b/loader/modules.c index 2706dcfc7..afbd2b6b4 100644 --- a/loader/modules.c +++ b/loader/modules.c @@ -263,6 +263,10 @@ int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd) { if ((mi = isysFindModuleInfo(modInfo, lm->name))) { strcpy(buf, "alias "); switch (mi->major) { + case DRIVER_CDROM: + strcat(buf, "cdrom "); + break; + case DRIVER_SCSI: if (scsiNum) sprintf(buf2, "scsi_hostadapter%d ", scsiNum); |