Added pxe_netdev; a slight hack for now, but will need to be done
authorMichael Brown <mcb30@etherboot.org>
Wed, 9 Aug 2006 02:58:27 +0000 (02:58 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 9 Aug 2006 02:58:27 +0000 (02:58 +0000)
properly for the PXE UNDI API anyway.

src/include/pxe.h
src/interface/pxe/pxe.c

index 7e61c6a..93d950c 100644 (file)
@@ -94,4 +94,6 @@ extern int ensure_pxe_state ( pxe_stack_state_t wanted );
 
 extern pxe_stack_t *pxe_stack;
 
+extern struct net_device *pxe_netdev;
+
 #endif /* PXE_H */
index 6731a9f..80b411d 100644 (file)
@@ -25,6 +25,8 @@
 #include "dev.h"
 #include "pxe.h"
 
+struct net_device *pxe_netdev = NULL;
+
 #if 0
 
 /* Global pointer to currently installed PXE stack */