diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-22 05:45:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-22 05:45:50 +0000 |
commit | 092ad7f2d37e5c4316015c58103cb19627fe283d (patch) | |
tree | 686118c0359f74f29510c18752aa39cf9ebdffec /loader2/moduleinfo.c | |
parent | 9cce5eff16ce47217379a38122def1f1ab819158 (diff) | |
download | anaconda-092ad7f2d37e5c4316015c58103cb19627fe283d.tar.gz anaconda-092ad7f2d37e5c4316015c58103cb19627fe283d.tar.xz anaconda-092ad7f2d37e5c4316015c58103cb19627fe283d.zip |
add driver_ide. properly do else instead of just ifs
Diffstat (limited to 'loader2/moduleinfo.c')
-rw-r--r-- | loader2/moduleinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/loader2/moduleinfo.c b/loader2/moduleinfo.c index 1623a7c70..df63c9902 100644 --- a/loader2/moduleinfo.c +++ b/loader2/moduleinfo.c @@ -185,12 +185,14 @@ int readModuleInfo(const char * filename, moduleInfoSet mis, } else if (!strcmp(chptr, "scsi_hostadapter") || !strcmp(chptr, "scsi")) { nextModule->major = DRIVER_SCSI; - } if (!strcmp(chptr, "pcmcia")) { + } else if (!strcmp(chptr, "pcmcia")) { nextModule->major = DRIVER_PCMCIA; - } if (!strcmp(chptr, "fs")) { + } else if (!strcmp(chptr, "fs")) { nextModule->major = DRIVER_FS; } else if (!strcmp(chptr, "cdrom")) { nextModule->major = DRIVER_CDROM; + } else if (!strcmp(chptr, "ide")) { + nextModule->major = DRIVER_IDE; } else { nextModule->major = DRIVER_OTHER; } |