1. add some comments.

2. remove unnecessary protocol declaration in inf file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7059 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2008-12-17 02:17:53 +00:00
parent 8cc267ebbc
commit 0da0de5ed8
2 changed files with 7 additions and 8 deletions

View File

@@ -203,8 +203,8 @@ DebugPortSupported (
EFI_HANDLE TempHandle;
//
// Check to see that there's not a debugport protocol already published
// Question: Why do we prevent debugport protocol published on more one device?
// Check to see that there's not a debugport protocol already published,
// since only one standard UART serial port could be supported by this driver.
//
if (gBS->LocateProtocol (&gEfiDebugPortProtocolGuid, NULL, (VOID **) &DebugPortInterface) != EFI_NOT_FOUND) {
return EFI_UNSUPPORTED;