diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-14 17:59:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:45 (GMT) |
commit | c86f3e2a73f4924b20ed7a56ebdaf874af861911 (patch) | |
tree | 66ab90f9b58bfa0f79d4a2799b64256464b45d98 /drivers/staging/hv/NetVsc.c | |
parent | b57a68dcd9030515763133f79c5a4a7c572e45d6 (diff) | |
download | linux-fsl-qoriq-c86f3e2a73f4924b20ed7a56ebdaf874af861911.tar.xz |
Staging: hv: make the Hyper-V virtual network driver build
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.
The driver was changed to use net_device_ops, as that is needed to build
and operate properly now.
The hv_netvsc code should now build with no errors.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/NetVsc.c')
-rw-r--r-- | drivers/staging/hv/NetVsc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c index 6cc3143..f9a3d18 100644 --- a/drivers/staging/hv/NetVsc.c +++ b/drivers/staging/hv/NetVsc.c @@ -20,8 +20,9 @@ * */ +#define KERNEL_2_6_27 -#include "logging.h" +#include "include/logging.h" #include "NetVsc.h" #include "RndisFilter.h" |