mirror of https://github.com/acidanthera/audk.git
Remove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller drivers already take care the start() sequence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10782 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a58b9d96b4
commit
9572320f13
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
BDS Lib functions which contain all the code to connect console device
|
||||
|
||||
Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2010, 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
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -361,21 +361,16 @@ BdsLibConnectConsoleVariable (
|
|||
|
||||
SetDevicePathEndNode (Next);
|
||||
//
|
||||
// Check USB1.1 console
|
||||
// Connect the USB console
|
||||
// USB console device path is a short-form device path that
|
||||
// starts with the first element being a USB WWID
|
||||
// or a USB Class device path
|
||||
//
|
||||
if ((DevicePathType (Instance) == MESSAGING_DEVICE_PATH) &&
|
||||
((DevicePathSubType (Instance) == MSG_USB_CLASS_DP)
|
||||
|| (DevicePathSubType (Instance) == MSG_USB_WWID_DP)
|
||||
)) {
|
||||
//
|
||||
// Check the Usb console in Usb2.0 bus firstly, then Usb1.1 bus
|
||||
//
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_EHCI, Instance);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
DeviceExist = TRUE;
|
||||
}
|
||||
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_UHCI, Instance);
|
||||
Status = BdsLibConnectUsbDevByShortFormDP (0xFF, Instance);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
DeviceExist = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue