i386/pc386: Add --ide-disable boot command line option.

This commit is contained in:
Chris Johns
2016-05-07 08:16:49 +10:00
parent 93fb879796
commit 02ef5d9a05

View File

@@ -74,6 +74,11 @@ unsigned long IDE_Controller_Count;
void bsp_ide_cmdline_init(void)
{
const char* ide_disable;
ide_disable = bsp_cmdline_arg ("--ide-disable");
if (ide_disable == NULL) {
bool ide1 = IDE1_DEFAULT;
bool ide2 = IDE2_DEFAULT;
const char* ide;
@@ -137,3 +142,4 @@ void bsp_ide_cmdline_init(void)
if (ide)
pc386_ide_show = true;
}
}