staging: hv: move hv_netvsc out of staging area
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 28 Nov 2011 21:35:35 +0000 (13:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 29 Nov 2011 07:12:36 +0000 (16:12 +0900)
hv_netvsc has been reviewed on netdev mailing list on 6/09/2011.
All recommended changes have been made. We are requesting to move
it out of staging area.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: KY Srinivasan <kys@microsoft.com>
Signed-off-by: Mike Sterling <Mike.Sterling@microsoft.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/hyperv/Kconfig [new file with mode: 0644]
drivers/net/hyperv/Makefile [new file with mode: 0644]
drivers/net/hyperv/hyperv_net.h [moved from drivers/staging/hv/hyperv_net.h with 100% similarity]
drivers/net/hyperv/netvsc.c [moved from drivers/staging/hv/netvsc.c with 100% similarity]
drivers/net/hyperv/netvsc_drv.c [moved from drivers/staging/hv/netvsc_drv.c with 100% similarity]
drivers/net/hyperv/rndis_filter.c [moved from drivers/staging/hv/rndis_filter.c with 100% similarity]
drivers/staging/hv/Kconfig
drivers/staging/hv/Makefile
drivers/staging/hv/TODO

index 654a5e9..99aa7fa 100644 (file)
@@ -338,4 +338,6 @@ config VMXNET3
          To compile this driver as a module, choose M here: the
          module will be called vmxnet3.
 
+source "drivers/net/hyperv/Kconfig"
+
 endif # NETDEVICES
index fa877cd..a81192b 100644 (file)
@@ -66,3 +66,5 @@ obj-$(CONFIG_USB_USBNET)        += usb/
 obj-$(CONFIG_USB_ZD1201)        += usb/
 obj-$(CONFIG_USB_IPHETH)        += usb/
 obj-$(CONFIG_USB_CDC_PHONET)   += usb/
+
+obj-$(CONFIG_HYPERV_NET) += hyperv/
diff --git a/drivers/net/hyperv/Kconfig b/drivers/net/hyperv/Kconfig
new file mode 100644 (file)
index 0000000..936968d
--- /dev/null
@@ -0,0 +1,5 @@
+config HYPERV_NET
+       tristate "Microsoft Hyper-V virtual network driver"
+       depends on HYPERV
+       help
+         Select this option to enable the Hyper-V virtual network driver.
diff --git a/drivers/net/hyperv/Makefile b/drivers/net/hyperv/Makefile
new file mode 100644 (file)
index 0000000..c8a6682
--- /dev/null
@@ -0,0 +1,3 @@
+obj-$(CONFIG_HYPERV_NET) += hv_netvsc.o
+
+hv_netvsc-y := netvsc_drv.o netvsc.o rndis_filter.o
index 072185e..8a51166 100644 (file)
@@ -4,12 +4,6 @@ config HYPERV_STORAGE
        help
         Select this option to enable the Hyper-V virtual storage driver.
 
-config HYPERV_NET
-       tristate "Microsoft Hyper-V virtual network driver"
-       depends on HYPERV && NET
-       help
-         Select this option to enable the Hyper-V virtual network driver.
-
 config HYPERV_MOUSE
        tristate "Microsoft Hyper-V mouse driver"
        depends on HYPERV && HID
index 0f55cee..6c97747 100644 (file)
@@ -1,6 +1,4 @@
 obj-$(CONFIG_HYPERV_STORAGE)   += hv_storvsc.o
-obj-$(CONFIG_HYPERV_NET)       += hv_netvsc.o
 obj-$(CONFIG_HYPERV_MOUSE)     += hv_mouse.o
 
 hv_storvsc-y := storvsc_drv.o
-hv_netvsc-y := netvsc_drv.o netvsc.o rndis_filter.o
index ed4d636..fd080cb 100644 (file)
@@ -1,5 +1,4 @@
 TODO:
-       - audit the network driver
        - audit the scsi driver
 
 Please send patches for this code to Greg Kroah-Hartman <gregkh@suse.de>,