mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/UsbBus: Correct debug message
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
b659b503fa
commit
76d1c752cb
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Wrapper function for usb host controller interface.
|
Wrapper function for usb host controller interface.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -1364,10 +1364,10 @@ UsbBusRecursivelyConnectWantedUsbIo (
|
||||||
//
|
//
|
||||||
// Recursively connect the wanted Usb Io handle
|
// Recursively connect the wanted Usb Io handle
|
||||||
//
|
//
|
||||||
DEBUG ((EFI_D_INFO, "UsbConnectDriver: TPL before connect is %d\n", (UINT32)UsbGetCurrentTpl ()));
|
DEBUG ((EFI_D_INFO, "UsbBusRecursivelyConnectWantedUsbIo: TPL before connect is %d\n", (UINT32)UsbGetCurrentTpl ()));
|
||||||
Status = gBS->ConnectController (UsbIf->Handle, NULL, NULL, TRUE);
|
Status = gBS->ConnectController (UsbIf->Handle, NULL, NULL, TRUE);
|
||||||
UsbIf->IsManaged = (BOOLEAN)!EFI_ERROR (Status);
|
UsbIf->IsManaged = (BOOLEAN)!EFI_ERROR (Status);
|
||||||
DEBUG ((EFI_D_INFO, "UsbConnectDriver: TPL after connect is %d\n", (UINT32)UsbGetCurrentTpl()));
|
DEBUG ((EFI_D_INFO, "UsbBusRecursivelyConnectWantedUsbIo: TPL after connect is %d\n", (UINT32)UsbGetCurrentTpl()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue