[PATCH 4/4] [myri10ge] Add NonVolatile Option (nvo) support
Glenn Brown
glenn at myri.com
Mon Jun 21 01:57:41 EDT 2010
Add NonVolatile Option (nvo) and NonVolatile Storage (nvs) support to
the myri10ge driver using the EEPROM read/write mechanism provided by
the NIC's Vendor Specific PCI capability.
The myri10ge NIC is capabile of storing 64KB or more of nonvolatile
options, but this patch advertises only 512 bytes of nvo storage because
gPXE malloc's a buffer matching the total size we advertise. 512 is
plenty without wasting malloc'd memory. (The 2 other drivers currently
supporting nvo advertise 256 bytes or less.)
Signed-off-by: Glenn Brown <glenn at myri.com>
---
src/drivers/net/myri10ge.c | 325 ++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 314 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-myri10ge-Add-NonVolatile-Option-nvo-support.patch
Type: text/x-patch
Size: 12419 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe-devel/attachments/20100620/a928e9d3/attachment.bin
More information about the gPXE-devel
mailing list