summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2007-01-04 04:44:36 +0100
committerMichael Brown2007-01-04 04:44:36 +0100
commitd4894f0127399cb3a91c6e8e0b450ce71573eec9 (patch)
tree446c2e4d92d57eebe94bb0544c16ef573f1e94e7 /src/interface
parentA DHCP session holds a persistent reference to a network device (diff)
downloadipxe-d4894f0127399cb3a91c6e8e0b450ce71573eec9.tar.gz
ipxe-d4894f0127399cb3a91c6e8e0b450ce71573eec9.tar.xz
ipxe-d4894f0127399cb3a91c6e8e0b450ce71573eec9.zip
We *should* use the persistent reference API for our netdev reference,
but there's so much else missing that it's not worth doing right now.
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/pxe/pxe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/pxe/pxe.c b/src/interface/pxe/pxe.c
index 80b411db..8aa7df0d 100644
--- a/src/interface/pxe/pxe.c
+++ b/src/interface/pxe/pxe.c
@@ -25,6 +25,7 @@
#include "dev.h"
#include "pxe.h"
+#warning "pxe_netdev should hold a persistent reference to the net device"
struct net_device *pxe_netdev = NULL;
#if 0