summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-17 02:17:53 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-17 02:17:53 +0000
commit0da0de5ed842d9111965157d465110af90dbeecd (patch)
treea378625839d8d549cf424345c6e5f86f479d414f /MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
parent8cc267ebbc4c0ba0ff2e560c7bd303a2d34f353e (diff)
downloadedk2-platforms-0da0de5ed842d9111965157d465110af90dbeecd.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/DebugPortDxe/DebugPort.c')
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
index ffe3fb72ec..5881668d7f 100644
--- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
+++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
@@ -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;