Commit Graph

97 Commits

Author SHA1 Message Date
eric_tian 8616fc4c13 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5436 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 10:02:26 +00:00
eric_tian ab6495eacf modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5429 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 01:50:16 +00:00
eric_tian 78c2ffb5a7 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5427 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 10:26:16 +00:00
eric_tian a92d4e8a8e Make USB Stack code pass ECC tool check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5405 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 05:45:04 +00:00
qwang12 7c24ae3685 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5377 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:19:41 +00:00
vanjeff b16b8bf9d0 Clean ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5376 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 08:17:11 +00:00
vanjeff c7e39923c0 [Description]:
UsbMassStorage driver need support multi-lun feature.
[Impaction]:
 UsbMassStorageDxe.
[Reference Info]:
 EDK tracker 1143 - UsbMassStorage driver need support multi-lun feature. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5375 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 08:09:00 +00:00
qwang12 faff3b4782 Clean up for GCC and Intel ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5373 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-26 03:38:11 +00:00
qwang12 a77267d273 [Description]
Merged in EDK 1151.
[Tracker]
1151 Logo & Print key could not be retrieved from USB keyboard



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5371 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 09:05:56 +00:00
vanjeff b4c24e2d42 [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
2008-06-25 05:50:41 +00:00
vanjeff 7e388f859f [Description]:
The Usb1.1 flash disk will hang for Bootable Image Support Test -> Bloack IO protocol Test -> Reset_Func.
[Solution]:
 Add a stall 20ms after set address when port reset for Usb hub.
[Impaction]:
 UsbBusDxe.
[Reference Info]:
 EDK tracker 1120 - USB flash disk hang or fail in the new SCT blockIo test. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5365 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 08:13:58 +00:00
qwang12 813acf3a9a Merged in the following trackers from EDK:
EDK1145 Cursor mising in shell in some case 
EDK1099: Dell - [HII] HiiGetFontInfo() not retrieve the system font by FoFontInfoMask
EDK1127: [UEFI 2.10] Keyboard layout support 
EDK1129: [UEFI HII] GUID is represented wrongly in Config String
And some other fixes such as
*[UEFI HII] HiiGetAltCfg is generating "Name=" sub string in the wrong format 
*UEFI HII: GetUnicodeStringTextOrSize() doesn't handle NULL StringDest properly
*GetFontInfo() need be updated to avoid iteration 
*HIIStringProtocolTest failed on multiple platform
*[Uefi 2.1] Comply with latest Hii ECR 
* GetFontInfo() need be updated to avoid iteration


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5361 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-23 09:41:33 +00:00
qhuang8 ac64461468 De-unicode in comment for all source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
qhuang8 6d5794302b Add #ifndef statement for header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5296 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 01:34:25 +00:00
qhuang8 cc582cffd1 Rename the confusing PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5169 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-06 09:34:46 +00:00
qhuang8 dd4047a51c [Description]:
Add a feature flag in Uhci & Ehci to disable legacy USB SMI.
[Impaction]:
  Platform integrator can choose to legacy USB SMI or not.
[Reference Info]
  EDK Tracker 1082

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5081 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 11:02:59 +00:00
vanjeff fb0b259e4e apply for doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5038 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 08:49:28 +00:00
vanjeff ffa5008abb apply for doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5030 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 08:33:17 +00:00
qhuang8 3b2dbece7c Update all files to follow doxygen style file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5017 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 05:34:50 +00:00
jljusten 1be0dda62d Fix warnings generated by gcc for ia32 builds:
'cast from pointer to integer of different size'
when casting from a pointer directly to a
64 bit number.  Added an intermediate cast to
UINTN.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-08 20:59:38 +00:00
lgao4 f0a83bb308 [Description]:
Don't need disable the legacy USB SMI in UHCI and EHCI, which is only required by UoL.
[Impaction]:
 Uhci and Ehci driver default don't need disable the legacy USB SMI.
[Reference Info]:
 EDK tracker 1082 
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4850 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 05:06:26 +00:00
jljusten 9cb8724d68 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiExtScsiPassThru.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDriver.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4840 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:38:08 +00:00
jljusten c4b578e809 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ComponentName.c:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4825 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:09:23 +00:00
jljusten 0c36e4c182 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4820 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:21:50 +00:00
jljusten 1441142b8b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4819 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:34 +00:00
jljusten 190a171e62 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4818 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:04 +00:00
jljusten d57ee0e56b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4817 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:15:50 +00:00
jljusten 517253e5b2 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4816 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:14:46 +00:00
vanjeff 9935f927a2 Merger tracker:Fixed a USB bus driver logic error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4805 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:51:04 +00:00
jljusten 77442a5a27 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf:
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h:
  Fixed filename case to match the actual files.  This is needed
  for case-sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4757 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:36:29 +00:00
jljusten 9e58aa1d3c edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:
Corrected usage of parenthesis for 'if' boolean condition.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:30:14 +00:00
jljusten 47166333b1 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.h:
Renamed to 'UsbBus.h' to match recommended file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4755 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:14:47 +00:00
jljusten 474ff2bdb9 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.c:
Rename to 'UsbBus.c' to match file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4754 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:13:29 +00:00
jljusten 1682995344 edk2/MdeModulePkg/Bus/Pci/UhciDxe/ComponentName.c:
Fix #include filename for case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4753 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:10:10 +00:00
vanjeff 1c61953576 1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
2. Use DEBUG () to replace some native debug function in USB stack modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4689 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 09:08:24 +00:00
vanjeff 392d56cf4e fixed comments problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4619 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:38:23 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
vanjeff ca12415ac9 Fixed the porting issue. That leads uninitialized variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4458 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 02:34:20 +00:00
eric_tian bcb9d421e0 usb kb's bug fix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4440 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 09:02:05 +00:00
vanjeff ecb575d9e6 Enhance the Usb bus driver to support Star with Remaining device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4437 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 06:38:15 +00:00
eric_tian 09f72ae883 the last check-in for UsbMouseAbsolutePointer is not correct. do it again.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4342 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-29 06:17:53 +00:00
vanjeff 6a6d955c5f Fixed potential issues to release resources when error occurs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4341 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:55:36 +00:00
eric_tian 385cd3a478 change the folder name of "UsbMouseSimulateTouchPadDxe" to "UsbMouseAbsolutePointer"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4337 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:39:35 +00:00
eric_tian 2170f9dd36 change "UsbMouseSimulateTouchPad" to "UsbMouseAbsolutePointer" for more clearing the name's meaning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4336 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 03:37:58 +00:00
eric_tian f74cc0260b delete a debug output to pass through EBC build and align some line to conform with code style
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4315 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-21 03:44:19 +00:00
qhuang8 de137b0939 Remove debug print statement checked in inadvertently
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4311 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 07:22:41 +00:00
qhuang8 0acd9855d8 Remove Atapi Pass Thru driver in MdeModulePkg. This module is only used for testing. We can use this module from OptionRomPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4310 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-20 07:17:56 +00:00
eric_tian 8ae0b360f5 add UsbMouseSimulateTouchPad driver to verify the correction of dispatching AbsolutePointer event of consplitter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4297 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-14 07:08:55 +00:00
vanjeff 41057d7787 Remove gEfiNetworkInterfaceIdentifierProtocolGuid reference from code base. Only left its definition in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4295 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-13 09:08:17 +00:00
vanjeff 68246fa809 Save original PCI attributes in start() function and restore it in Stop() for those PCI device drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4212 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 07:59:45 +00:00