]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
We *should* use the persistent reference API for our netdev reference,
authorMichael Brown <mcb30@etherboot.org>
Thu, 4 Jan 2007 03:44:36 +0000 (03:44 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 4 Jan 2007 03:44:36 +0000 (03:44 +0000)
but there's so much else missing that it's not worth doing right now.

src/interface/pxe/pxe.c

index 80b411db2fe70f2acb7237b581a0efa831b35dcb..8aa7df0d729f7bc0ad6ecc98c2c77cccb93a7fd3 100644 (file)
@@ -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