Skip to content

Commit

Permalink
Staging: hv: netvsc: Create a common header file for network driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 5041e71 commit 5ca7252
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions drivers/staging/hv/hyperv_net.h
Original file line number Diff line number Diff line change
@@ -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 */
1 change: 1 addition & 0 deletions drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/slab.h>

#include "hyperv.h"
#include "hyperv_net.h"
#include "netvsc.h"
#include "rndis_filter.h"

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <net/pkt_sched.h>

#include "hyperv.h"
#include "hyperv_net.h"
#include "netvsc_api.h"

struct net_device_context {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/netdevice.h>

#include "hyperv.h"
#include "hyperv_net.h"
#include "netvsc_api.h"
#include "rndis_filter.h"

Expand Down

0 comments on commit 5ca7252

Please sign in to comment.