qhuang8 4d1fe68e1c 1. Add NULL QH to set as QH header;
2. Do ping for high speed OUT pipe;
3. Bug fix for QTD size detection;
4. Bug fix for short package detection;
5. Bug fix get next QTD in ExcutionTransfer;
6. BOT module modify to follow spec;
7. Massstorage error hanling enhancement 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2321 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 04:08:57 +00:00

56 lines
1.0 KiB
C

/*++
Copyright (c) 2006, 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
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
Debug.c
Abstract:
Revision History
--*/
#include "Ehci.h"
VOID
DumpEHCIPortsStatus (
IN USB2_HC_DEV *HcDev
)
{
UINT8 PortNumber;
UINT8 Index;
UINT32 Value;
ReadEhcCapabiltiyReg (
HcDev,
HCSPARAMS,
&Value
);
PortNumber = (UINT8) (Value & HCSP_NPORTS);
for (Index = 0; Index < PortNumber; Index++) {
ReadEhcOperationalReg (
HcDev,
PORTSC + 4 * Index,
&Value
);
DEBUG((gEHCDebugLevel, "Port[%d] = 0x%x\n", Index, Value));
}
}