diff options
author | Greg Kroah-Hartman | 2009-07-14 19:59:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:01:45 +0200 |
commit | c86f3e2a73f4924b20ed7a56ebdaf874af861911 (patch) | |
tree | 66ab90f9b58bfa0f79d4a2799b64256464b45d98 /drivers/staging/hv/NetVsc.c | |
parent | Staging: hv: blkvsc: fix up driver_data usage (diff) | |
download | kernel-qcow2-linux-c86f3e2a73f4924b20ed7a56ebdaf874af861911.tar.gz kernel-qcow2-linux-c86f3e2a73f4924b20ed7a56ebdaf874af861911.tar.xz kernel-qcow2-linux-c86f3e2a73f4924b20ed7a56ebdaf874af861911.zip |
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 6cc31431f9b3..f9a3d185cafa 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" |