summaryrefslogtreecommitdiffstats
path: root/OptionRomPkg
Commit message (Collapse)AuthorAgeFilesLines
* OptionRomPkg: Fix GCC build failureBi, Dandan2016-10-091-2/+0
| | | | | | | | Remove the variable which is set but not used to pass GCC build. Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com>
* OptionRomPkg: .dsc fixes for ARM/AARCH64 and USB driversLeif Lindholm2016-09-091-1/+10
| | | | | | | | | | | | | | Drivers under OptionRomPkg wouldn't build standalone, since ARM and AARCH64 were missing from SUPPORTED_ARCHITECTURES. So add them. Also, add some compiler libraries needed for ARM/AARCH64 GCC toolchains (CompilerIntrinsicsLib and BaseSwStackCheckLib). Also, the UsbNetworking drivers were not listed under [Components], so failed to build standalone. This patch adds them. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* OptionRomPkg: Fix typos in commentsGiri P Mudusuru2016-07-112-4/+4
| | | | | | | | | - EFI_OUT_OF_RESORUCES to EFI_OUT_OF_RESOURCES Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* OptionRomPkg: Ax88772b: Fixing register access issue in Apple Eth AdapterShivamurthy Shastri2016-03-313-9/+51
| | | | | | | | | | | | The USB command CMD_RXQTC ("RX Queue Cascade Threshold Control") tries to access the register and is always failing when using the Apple Ethernet adapter. It is fixed by checking flag before sending command. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linaro.org> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* OptionRomPkg: Ax88772b: Fixing compilationShivamurthy Shastri2016-03-301-2/+0
| | | | | | | | | error: pNicDevice variable set but not used Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linaro.org> Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
* OptionRomPkg: Ax88772b: support for multiple dongles and chipsShivamurthy Shastri2016-03-302-15/+30
| | | | | | | | | | | | Driver code is modified to support multiple ethernet dongles, which uses similar ASIX chips. Also, it can be used for multiple ASIX chips with similar register map. Enabled support for Apple Ethernet Adapter Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linaro.org> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* OptionRomPkg: FtdiUsbSerialDxe: remove set but unused variablesLaszlo Ersek2016-03-251-2/+0
| | | | | | | | | Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
* OptionRomPkg: Remove redundant included header file defintion in Ax88772.h ↵jiaxinwu2015-07-082-4/+2
| | | | | | | | | | and Ax88772b.h files Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: jiaxinwu <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17871 6f19259b-4bc3-4df7-8a09-765794883524
* Add IPV6 support from UNDIYe Ting2015-04-304-2/+263
| | | | | | | | | | | | | Add new information block ‘IPV6 support from UNDI’ in AIP protocol and provide sample implementation in UNDI driver. Update PXE driver to get ‘Ipv6Available’ of PXE BC Mode data from UNDI driver, if unsupported then not to start PXE over IPv6 path. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17275 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Update UndiRuntimeDxe driver. Liming Gao2015-03-113-14/+9
| | | | | | | | | | | Change the Notify from ExitBootService to ReadyToBoot. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17038 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: FrameBufferBltLib: drop set but not used variableLaszlo Ersek2015-02-231-2/+0
| | | | | | | | | | | BltMemSrc is set in BltLibVideoFill(), but never read. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Olivier Martin <Olivier.Martin@arm.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16889 6f19259b-4bc3-4df7-8a09-765794883524
* */Contributions.txt: Update example email addressJordan Justen2015-02-031-2/+2
| | | | | | | | | | | | | Use the example.com domain as recommended in RFC 2606. NOTE: This does not modify the wording of the "TianoCore Contribution Agreement 1.0" section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Bruce Cran <bruce.cran@gmail.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16724 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Contributions.txt: Update patch format informationJordan Justen2014-10-311-13/+29
| | | | | | | | | | | | | Update to show what the patch looks like in email form. NOTE: This does not modify the wording of the "TianoCore Contribution Agreement 1.0" section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16297 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Contributions.txt: Note acceptable contribution licensesJordan Justen2014-08-251-0/+14
| | | | | | | | | | | | | | | | | | We strongly prefer that contribtions be offered using the same license as the project/module. But, we should document other acceptable licenses for contributions. This will allow package owners to more easily know if they can accept a contribution under a different source license. NOTE: This does not modify the wording of the "TianoCore Contribution Agreement 1.0" section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Mark Doran <mark.doran@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15892 6f19259b-4bc3-4df7-8a09-765794883524
* Fix wrong usage sizeof(SIZE).Sergey Isakov2014-07-231-3/+3
| | | | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Sergey Isakov <isakov-sl@bk.ru> Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Sergey Isakov <isakov-sl@bk.ru> Reviewed-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Ruiyu Ni<ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15672 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make it more safely.Eric Dong2014-06-251-1/+2
| | | | | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15588 6f19259b-4bc3-4df7-8a09-765794883524
* Fix CRLF formatTian, Hot2014-01-221-12/+12
| | | | | | Signed-off-by: Tian, Hot <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15158 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Corrected path for the FtdiUsbSerialDxe.inf in OptionRomPkg.dscAshley DeSimone2013-11-011-1/+1
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ashley DeSimone <ashley.e.desimone@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14821 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Added bus driver for FTDI USB to serial adaptersAshley DeSimone2013-10-297-0/+3506
| | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ashley DeSimone <ashley.e.desimone@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14817 6f19259b-4bc3-4df7-8a09-765794883524
* Fix OptionRomPkg build failure.Qian Ouyang2013-08-211-4/+4
| | | | | | | Signed-off-by: Qian Ouyang <qian.ouyang@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14578 6f19259b-4bc3-4df7-8a09-765794883524
* Update the structure of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL, ↵Qian Ouyang2013-08-202-16/+21
| | | | | | | | | | PXE_HW_UNDI, PXE_SW_UNDI to support greater than 256NICs in UNDI (Request by UEFI2.4 Mantis991). Signed-off-by: Qian Ouyang <qian.ouyang@intel.com> Reviewed-by: Ting Ye <ting.ye@intel.com> Siyuan Fu <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14569 6f19259b-4bc3-4df7-8a09-765794883524
* Ax88772: Add logic to separate packet, fix MTU issue. Ax88772b: Fix driver ↵Yu Pei2013-06-278-207/+341
| | | | | | | | | | | model unload function, fix SCT test failures. Signed-off-by: Yu Pei <pei.yu@intel.com> Reviewed-by: Ouyang Qian <qian.ouyang@intel.com> Reviewed-by: Leahy, Leroy P <Leroy.P.Leahy@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14443 6f19259b-4bc3-4df7-8a09-765794883524
* Update Code to pass EBC compiler.lgao42013-05-131-3/+3
| | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14352 6f19259b-4bc3-4df7-8a09-765794883524
* Contributed-under: TianoCore Contribution Agreement 1.0lpleahy2013-02-276-0/+4400
| | | | | | | | Signed-off-by: Frank Fan <frank@asix.com.tw> Reviewed-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14149 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add EFI_COMPONENT_NAME2_PROTOCOL support for UNDI driver.sfu52012-12-134-5/+376
| | | | | | | | Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Ouyang Qian <qian.ouyang@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13994 6f19259b-4bc3-4df7-8a09-765794883524
* The Driver Binding Protocol Stop() function for the UndiRuntimeDxe is ↵mdkinney2012-10-031-30/+30
| | | | | | | | | | | | | | performing actions in the incorrect order. The call to UninstallMultipleProtocolInterfaces() removes all the protocols from the child handle, which means ChildHandleBuffer[Index] is no longer valid. After the call to UninstallMultipleProtocolInterfaces(), ChildHandleBuffer[Index] is used again in a call to CloseProtocol(). The handle is not valid, so CloseProtocol() returns an error and generates an ASSERT(). This patch changes the order to call CloseProtocol() before calling UninstallMultipleProtocolInterfaces(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13781 6f19259b-4bc3-4df7-8a09-765794883524
* Fix comparisons of enumerated types which may cause warnings for some compilers.rsun32012-08-282-4/+4
| | | | | | | | Signed-off-by: Sun Rui <rui.sun@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13686 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed header commentlpleahy2012-06-141-2/+2
| | | | | | | Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13456 6f19259b-4bc3-4df7-8a09-765794883524
* update copyright formathhtian2012-05-236-12/+12
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13351 6f19259b-4bc3-4df7-8a09-765794883524
* SNP driver for ASIX Electronics AX88772 found in SMC Networks SMC2209 ↵lpleahy2012-05-226-0/+4513
| | | | | | | | | | USB/Ethernet 10/100 adapter. Signed-off-by: lpleahy Contributed-by: Intel git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13348 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Refine file header format to follow coding style.ydong102011-12-162-4/+4
| | | | | | | Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12880 6f19259b-4bc3-4df7-8a09-765794883524
* Consume the UNDI_CONFIG_TABLE defined in MdePkg and remove the local ↵vanjeff2011-10-252-27/+15
| | | | | | | | | definition of NII_TABLE. Signed-off-by: vanjeff Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12561 6f19259b-4bc3-4df7-8a09-765794883524
* Remove old COMPRESS keyword, has add new kewword PCI_COMPRESS.ydong102011-09-301-1/+0
| | | | | | | | Signed-off-by: ydong10 Reviewed-by: niruiyu Reviewed-by: gikidy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12490 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is ↵niruiyu2011-07-064-8/+8
| | | | | | | | | valid/invalid. Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11984 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up invalid keywords and missing keywords in [Define] section of ↵lzeng142011-06-281-1/+2
| | | | | | | | | | INF/DEC files. Signed-off-by: lzeng14 Reviewed-by: lhauch Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11906 6f19259b-4bc3-4df7-8a09-765794883524
* update copyright line formathhtian2011-06-075-10/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11757 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up DEC files:mdkinney2011-05-091-8/+5
| | | | | | | | | | | | 1) Remove section header comment blocks that do not provide any information 2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead 3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions. 4) Clean up formatting of GUID structure declarations 5) Remove ".common" from section names if they are not required. 6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11632 6f19259b-4bc3-4df7-8a09-765794883524
* Add data type convert action to avoid warning.ydong102011-05-041-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11617 6f19259b-4bc3-4df7-8a09-765794883524
* Refine code to make code run more safely.ydong102011-04-252-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11583 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg FrameBufferBltLib: Fix build warning with ICCjljusten2011-04-221-3/+2
| | | | | | | | mBltLibBytesPerPixel is UINTN, and therefore it will always be >= 0. Instead an ASSERT is used to verify that MergedMasks is non-zero. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11581 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg BltLibSample: Fix build for IPF architecturejljusten2011-04-221-3/+17
| | | | | | Use AsmReadItc for IPF and AsmReadTsc for IA32 & X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11580 6f19259b-4bc3-4df7-8a09-765794883524
* Fix an issue that upper layer driver can not use NIC card in its driver ↵tye12011-04-201-30/+22
| | | | | | binding stop(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11574 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Fix build error with BaseTools trunkjljusten2011-04-172-2/+3
| | | | | | | Fix build error with BaseTools trunk. LibraryClasses should be used instead of Libraries. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11546 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Fix Visual Studio compiler warningsjljusten2011-04-173-23/+28
| | | | | | These changes fix compiler warnings with Visual Studio 2005. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11545 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg BltLibSample: Add sample application for BltLibjljusten2011-04-123-0/+305
| | | | | | | | | This application uses BltLib to draw various items on the screen. It can be used as a test for a BltLib library implementation, and it can be used to compare the results of two BltLib implementations (such as the performance). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11523 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add GOP based BltLibjljusten2011-04-123-0/+495
| | | | | | | This BltLib provides a wrapper for calling the UEFI Graphics Output Protocol (GOP) functions for a single GOP instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11522 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add FrameBufferBltLib implementation of BltLibjljusten2011-04-123-0/+789
| | | | | | | | | | | | | | | This BltLib implementation will act on the BltLib functions by directly manipulating a memory framebuffer. Therefore, it should be usable by a Graphics Output Protocol (GOP) driver to easily implement the GOP Blt function whenever a memory framebuffer is available. It can also be used in any situation where code would prefer to not call the GOP Blt function, and would rather update the framebuffer directly. (Assuming a framebuffer is available for the graphics device.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11521 6f19259b-4bc3-4df7-8a09-765794883524
* OptionRomPkg: Add BltLib definitionjljusten2011-04-122-0/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | This library is intended to make it easy to perform blt operations on a GOP framebuffer without using the GOP Blt function. There can be two main forms of implementations of this library: 1) A library which interfaces directly with a framebuffer, and has no dependence on the GOP protocol. Once configured with the framebuffer parameters, it can operate directly on the framebuffer. 2) A library which interfaces with the GOP protocol. In this case this library provides a convenience layer and allows blt code to look cleaner. Potential uses for this library: * Video driver with a framebuffer will not need to implement GOP Blt function itself. Instead it can utilize an implementation of this library as described in #1 above. * OS Loader code which would like to easily use the GOP framebuffer after Exit Boot Services. This would use a library instance as described in #1 above. * Any other code which would like to call GOP blt, but simplify the code with the more convenient functions provided by this library interface. (Using a library as described in #2 above.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11520 6f19259b-4bc3-4df7-8a09-765794883524