From 75d26d884a17e765098b3101e6dc8afee7ed015c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 9 Aug 2006 02:58:27 +0000 Subject: [PATCH] Added pxe_netdev; a slight hack for now, but will need to be done properly for the PXE UNDI API anyway. --- src/include/pxe.h | 2 ++ src/interface/pxe/pxe.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/include/pxe.h b/src/include/pxe.h index 7e61c6ac9..93d950c3e 100644 --- a/src/include/pxe.h +++ b/src/include/pxe.h @@ -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 */ diff --git a/src/interface/pxe/pxe.c b/src/interface/pxe/pxe.c index 6731a9fdb..80b411db2 100644 --- a/src/interface/pxe/pxe.c +++ b/src/interface/pxe/pxe.c @@ -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 */