Browse Source

Added pxe_netdev; a slight hack for now, but will need to be done

properly for the PXE UNDI API anyway.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
75d26d884a
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      src/include/pxe.h
  2. 2
    0
      src/interface/pxe/pxe.c

+ 2
- 0
src/include/pxe.h View File

@@ -94,4 +94,6 @@ extern int ensure_pxe_state ( pxe_stack_state_t wanted );
94 94
 
95 95
 extern pxe_stack_t *pxe_stack;
96 96
 
97
+extern struct net_device *pxe_netdev;
98
+
97 99
 #endif /* PXE_H */

+ 2
- 0
src/interface/pxe/pxe.c View File

@@ -25,6 +25,8 @@
25 25
 #include "dev.h"
26 26
 #include "pxe.h"
27 27
 
28
+struct net_device *pxe_netdev = NULL;
29
+
28 30
 #if 0
29 31
 
30 32
 /* Global pointer to currently installed PXE stack */

Loading…
Cancel
Save