Przeglądaj źródła

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 lat temu
rodzic
commit
75d26d884a
2 zmienionych plików z 4 dodań i 0 usunięć
  1. 2
    0
      src/include/pxe.h
  2. 2
    0
      src/interface/pxe/pxe.c

+ 2
- 0
src/include/pxe.h Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 */

Ładowanie…
Anuluj
Zapisz