[Settings] Add per-netdevice settings block
authorMichael Brown <mcb30@etherboot.org>
Thu, 20 Mar 2008 21:06:03 +0000 (21:06 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 20 Mar 2008 21:06:53 +0000 (21:06 +0000)
commitacfa14423ef2c974e9d8ff3d0aa48fe0ea2fb8c7
tree1541c01facb5ed9d291aa773f12b7a8664077206
parent260b93bb72ab31881669cb3e393816a6156c92b7
[Settings] Add per-netdevice settings block

Add a configuration settings block for each net device.  This will
provide the parent scope for settings applicable only to that network
device (e.g. non-volatile options stored on the NIC, options obtained via
DHCP, etc.).

Expose the MAC address as a setting.
src/include/gpxe/dhcp.h
src/include/gpxe/errfile.h
src/include/gpxe/netdevice.h
src/include/gpxe/settings.h
src/net/netdev_settings.c [new file with mode: 0644]
src/net/netdevice.c