[Description]:
Sync 3 trackers. 1. A bug that may cause the low/full speed device behind 2.0 hub will not work. 2. MajorRevision and MinorRevision need updating. 3. Misuse UhciConvertPollRate in UHCI driver. [Impaction]: EhicDxe, UhciDxe and UsbBusDxe. [Reference Info]: EDK tracker 1122 - A bug that may cause the low/full speed device behind 2.0 hub will not work . EDK tracker 1101 - Phoenix found issue in USB and Misuse UhciConvertPollRate in UHCI driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5370 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2004 - 2007, Intel Corporation
|
||||
Copyright (c) 2004 - 2008, Intel Corporation
|
||||
All rights reserved. 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
|
||||
@ -313,9 +313,10 @@ Uhci2GetCapability (
|
||||
// returns 0 in this bit if port number is invalid. Also, if
|
||||
// PciIo IoRead returns error, 0xFFFF is returned to caller.
|
||||
//
|
||||
if (((PortSC & 0x80) != 0) && (PortSC != 0xFFFF)) {
|
||||
(*PortNumber)++;
|
||||
if (((PortSC & 0x80) == 0) || (PortSC == 0xFFFF)) {
|
||||
break;
|
||||
}
|
||||
(*PortNumber)++;
|
||||
}
|
||||
|
||||
Uhc->RootPorts = *PortNumber;
|
||||
|
Reference in New Issue
Block a user