If you look at the BDS code which creates the boot option for network, it just 
gets the MAC device path and stores it into the boot option variable.
So it looks strange that the LocateDevicePath() cannot find the same MAC device 
path in the system.


-----Original Message-----
From: Peter Jones [mailto:pjo...@redhat.com] 
Sent: Friday, September 13, 2013 4:39 AM
To: edk2-devel@lists.sourceforge.net
Cc: Jin, Eric
Subject: Re: [edk2] network IfType matching in BDS

On Thu, Sep 12, 2013 at 01:54:32AM +0000, Jin, Eric wrote:
> Laszlo,
> 
> In the UEFI Spec 2.4, page 387.
> The MacAddr is a Hex Dump and is required. If IfType is 0 or 1, then the 
> MacAddr must be exactly six bytes.
> The IfType is an integer from 0-255 and is optional. The default is zero.
> 
> It seems the e1000 NIC uses the default value defined in Spec.

Hrm.  If it's intended to be optional, that implies that BDS not having
a special case for when they don't match is a bug, doesn't it?  There's
no way when you're generating a device path to put in the Boot####
variable whether a device's driver is going to use 0 or (in the ethernet
case) 1.

So if it's truly optional, Doesn't BSD need code to treat it optionally?

-- 
        Peter

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to