forked from Imagelibrary/rtems
i386/pc386: Add --ide-disable boot command line option.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user