]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: netvsc: Create a common header file for network driver
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:37 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 19:27:06 +0000 (12:27 -0700)
Create a common header file for network driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hyperv_net.h [new file with mode: 0644]
drivers/staging/hv/netvsc.c
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/rndis_filter.c

diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h
new file mode 100644 (file)
index 0000000..9eb5c86
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (c) 2011, Microsoft Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place - Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * Authors:
+ *   Haiyang Zhang <haiyangz@microsoft.com>
+ *   Hank Janssen  <hjanssen@microsoft.com>
+ *   K. Y. Srinivasan <kys@microsoft.com>
+ *
+ */
+
+#ifndef _HYPERV_NET_H
+#define _HYPERV_NET_H
+
+#endif /* _HYPERV_NET_H */
index c665d8891aa08a29d3f009535d1ce56984f77ac6..76aa59e02b3891ff4e741d2ddc3bf1717e53ffd8 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/slab.h>
 
 #include "hyperv.h"
+#include "hyperv_net.h"
 #include "netvsc.h"
 #include "rndis_filter.h"
 
index 4e2995249db830e060ad6aa209a45e718ea94140..06fc9d19d2a8441000fad359f7ad5a57aeaedfa4 100644 (file)
@@ -40,6 +40,7 @@
 #include <net/pkt_sched.h>
 
 #include "hyperv.h"
+#include "hyperv_net.h"
 #include "netvsc_api.h"
 
 struct net_device_context {
index 21818e206434fdd2cea37dd27f37fc0f32317469..74bd4b1538457552c80e74c62c16a9ad2e622528 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/netdevice.h>
 
 #include "hyperv.h"
+#include "hyperv_net.h"
 #include "netvsc_api.h"
 #include "rndis_filter.h"