summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2008-11-21 21:31:12 +0100
committerMichael Brown2008-11-21 21:34:02 +0100
commit02a021587336a9ada3845025610ba836b173464d (patch)
tree972b32b60effd0ed54752581e93498d3eaa4aa59 /src/drivers
parent[pxe] Select the correct network device on multiport cards (diff)
downloadipxe-02a021587336a9ada3845025610ba836b173464d.tar.gz
ipxe-02a021587336a9ada3845025610ba836b173464d.tar.xz
ipxe-02a021587336a9ada3845025610ba836b173464d.zip
[netdevice] Provide function to retrieve the most recently opened net device
There are currently four places within the codebase that use a heuristic to guess the "boot network device", with varying degrees of success. Add a feature to the net device core to maintain a list of open network devices, in order of opening, and provide a function last_opened_netdev() to retrieve the most recently opened net device. This should do a better job than the current assortment of guess_boot_netdev() functions.
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions