Ver código fonte

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 19 anos atrás
pai
commit
75d26d884a
2 arquivos alterados com 4 adições e 0 exclusões
  1. 2
    0
      src/include/pxe.h
  2. 2
    0
      src/interface/pxe/pxe.c

+ 2
- 0
src/include/pxe.h Ver arquivo

94
 
94
 
95
 extern pxe_stack_t *pxe_stack;
95
 extern pxe_stack_t *pxe_stack;
96
 
96
 
97
+extern struct net_device *pxe_netdev;
98
+
97
 #endif /* PXE_H */
99
 #endif /* PXE_H */

+ 2
- 0
src/interface/pxe/pxe.c Ver arquivo

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

Carregando…
Cancelar
Salvar