Hello,
I'm developing an UEFI application that is using the UEFI networkstack.
I tested my application in the UEFI shell on a motherboard that has included
the UEFI networkstack.
Everything works fine if I use the network connector on the mainboard
itself.
But now I tried to get my application also running if I attach a
PCI-networkcard (Broadcom).
For me it seems that I can't get access to that NIC.
In my application I'm doing that to check if a cable is attached to my NIC:
//.
Status = pBS->LocateHandleBuffer(ByProtocol,
&gEfiManagedNetworkServiceBindingProtocolGuid, NULL, &HandleCount,
&Handles);
for (Index = 0; Index < HandleCount; Index++){
GetNicMediaStatus (Handles[Index]m &NicInfo->MediaPresentSupported,
&NicInfo->MediaPresent);
if(NicInfo->MediaPresent == 1)
// This I want to get
else
// Look for another handle with connected media
}
//...
Basically this routine is out of the ifconfig.c file from the UDK and as
already said it works fine with the onboard NIC.
But when I insert the PCI network card I still only get one handle for the
gEfiManagedNetworkServiceBindingProtocolGuid.
Any thoughts on where to look to come to a solution for this problem?
Must the firmware of the PCI network card provide some special drivers to
work together with the UEFI network stack?
A PXE boot from this network card works just fine.
Regards,
Michael
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel