NULL\r
};\r
\r
-BOOLEAN mDetectVgaOnly;\r
+BOOLEAN mDetectDisplayOnly;\r
\r
/**\r
Add IsaKeyboard to ConIn; add IsaSerial to ConOut, ConIn, ErrOut.\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
- if (!mDetectVgaOnly) {\r
+ if (!mDetectDisplayOnly) {\r
//\r
// Here we decide whether it is LPC Bridge\r
//\r
}\r
\r
//\r
- // Here we decide which VGA device to enable in PCI bus\r
+ // Enable all display devices\r
//\r
- if (IS_PCI_VGA (Pci)) {\r
+ if (IS_PCI_DISPLAY (Pci)) {\r
//\r
// Add them to ConOut.\r
//\r
- DEBUG ((DEBUG_INFO, "Found PCI VGA device\n"));\r
- PreparePciVgaDevicePath (Handle);\r
+ DEBUG ((DEBUG_INFO, "Found PCI Display device\n"));\r
+ EfiBootManagerConnectVideoController (Handle);\r
return EFI_SUCCESS;\r
}\r
\r
/**\r
Do platform specific PCI Device check and add them to ConOut, ConIn, ErrOut\r
\r
- @param[in] DetectVgaOnly - Only detect VGA device if it's TRUE.\r
+ @param[in] DetectDisplayOnly - Only detect display device if it's TRUE.\r
\r
@retval EFI_SUCCESS - PCI Device check and Console variable update successfully.\r
@retval EFI_STATUS - PCI Device check or Console variable update fail.\r
**/\r
EFI_STATUS\r
DetectAndPreparePlatformPciDevicePaths (\r
- BOOLEAN DetectVgaOnly\r
+ BOOLEAN DetectDisplayOnly\r
)\r
{\r
- mDetectVgaOnly = DetectVgaOnly;\r
+ mDetectDisplayOnly = DetectDisplayOnly;\r
\r
EfiBootManagerUpdateConsoleVariable (\r
ConIn,\r