diff options
| author | Michael Brown | 2011-10-28 23:32:33 +0200 |
|---|---|---|
| committer | Michael Brown | 2011-10-28 23:32:33 +0200 |
| commit | 4f4369064b8ab1adee411f61f3cc24bd18c0d9a2 (patch) | |
| tree | ee5d9542a49f07c3adc6b0a4b846440506568a03 /src/include/sys | |
| parent | [cmdline] Make "reboot" command available by default (diff) | |
| download | ipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.tar.gz ipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.tar.xz ipxe-4f4369064b8ab1adee411f61f3cc24bd18c0d9a2.zip | |
[netdevice] Allow driver to preinitialise the link-layer address
Drivers are currently expected to initialise only the hardware
address, with the link-layer protocol code taking care of converting
this into a valid link-layer address. Some drivers (e.g. undinet) can
legitimately determine both the hardware and link-layer addresses,
which may differ.
Allow for this situation by checking to see if the link-layer address
is empty before initialising it from the hardware address.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/sys')
0 files changed, 0 insertions, 0 deletions
