diff options
author | Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com> | 2014-11-27 01:01:43 +0000 |
---|---|---|
committer | erictian <erictian@Edk2> | 2014-11-27 01:01:43 +0000 |
commit | 01331951708f980fca1fb3a791ab544adcd3a5d0 (patch) | |
tree | 3768f07f468ebf5ffb918a52e36e33046b399ba5 /MdeModulePkg/Bus | |
parent | 2bf41ed7dc20f0f6e13babb136753ff3f91edd21 (diff) | |
download | edk2-platforms-01331951708f980fca1fb3a791ab544adcd3a5d0.tar.xz |
MdeModulePkg: Misc comments and DEBUG messages
Fixed some spelling typos in some comments. Added a couple of useful DEBUG messages
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16450 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus')
-rw-r--r-- | MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c | 5 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c index ff99fe4461..319507cfa2 100644 --- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c +++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHost.c @@ -2,6 +2,7 @@ This file implements I2C Host Protocol which provides callers with the ability to
do I/O transactions to all of the devices on the I2C bus.
+ Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -672,6 +673,10 @@ I2cHostI2cBusConfigurationAvailable ( I2cHostContext->I2cEvent,
&I2cHostContext->Status
);
+
+ if (EFI_ERROR (Status)) {
+ DEBUG((DEBUG_ERROR, "I2cHostI2cBusConfigurationAvailable: Error starting I2C operation, %r\n", Status));
+ }
}
/**
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c index af3f4e5ecd..90f010c998 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c @@ -519,7 +519,7 @@ UhciCheckTdStatus ( // terminate the transfer
//
if (!IsLow && (TdHw->ShortPacket == 1) && (Len < Td->DataLen)) {
- DEBUG ((EFI_D_INFO, "UhciCheckTdStatus: short packet read occured\n"));
+ DEBUG ((EFI_D_VERBOSE, "UhciCheckTdStatus: short packet read occured\n"));
Finished = TRUE;
goto ON_EXIT;
|