瀏覽代碼

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 年之前
父節點
當前提交
75d26d884a
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. 2
    0
      src/include/pxe.h
  2. 2
    0
      src/interface/pxe/pxe.c

+ 2
- 0
src/include/pxe.h 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存