WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 10 of 10] Hook NC2 up to the unmodified drivers build

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 10 of 10] Hook NC2 up to the unmodified drivers build
From: <steven.smith@xxxxxxxxxx>
Date: Sun, 4 Oct 2009 16:00:40 +0100
Cc: keir.fraser@xxxxxxxxxx, joserenato.santos@xxxxxx
Delivery-date: Sun, 04 Oct 2009 08:05:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1254668430@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Steven Smith <steven.smith@xxxxxxxxxxxxx>
# Date 1232558960 0
# Node ID db0b310494ee26879c6e2d8a2727ee81706e3468
# Parent  62eadd38fdb9092dc350c95345efeef5a10a292a
Hook NC2 up to the unmodified drivers build.

Signed-off-by: Steven Smith <steven.smith@xxxxxxxxxx>

diff -r 62eadd38fdb9 -r db0b310494ee unmodified_drivers/linux-2.6/Makefile
--- a/unmodified_drivers/linux-2.6/Makefile     Wed Jan 21 14:34:10 2009 +0000
+++ b/unmodified_drivers/linux-2.6/Makefile     Wed Jan 21 17:29:20 2009 +0000
@@ -5,3 +5,4 @@
 obj-m += blkfront/
 obj-m += netfront/
 obj-m += scsifront/
+obj-m += netchannel2/
diff -r 62eadd38fdb9 -r db0b310494ee unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk Wed Jan 21 14:34:10 2009 +0000
+++ b/unmodified_drivers/linux-2.6/overrides.mk Wed Jan 21 17:29:20 2009 +0000
@@ -6,6 +6,7 @@
 # a Xen kernel to find the right headers)
 _XEN_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=0x0003020a
 _XEN_CPPFLAGS += -DCONFIG_XEN_COMPAT=0xffffff
+_XEN_CPPFLAGS += -DCONFIG_XEN_NETDEV2_FRONTEND
 _XEN_CPPFLAGS += -I$(M)/include -I$(M)/compat-include 
-DHAVE_XEN_PLATFORM_COMPAT_H
 ifeq ($(ARCH),ia64)
   _XEN_CPPFLAGS += -DCONFIG_VMX_GUEST
@@ -16,3 +17,10 @@
 EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
 EXTRA_AFLAGS += $(_XEN_CPPFLAGS)
 CPPFLAGS := -I$(M)/include $(CPPFLAGS)
+
+CONFIG_XEN_NETCHANNEL2 = m
+CONFIG_XEN_NETDEV2_BACKEND = n
+CONFIG_XEN_NETDEV2_FRONTEND = y
+CONFIG_XEN_NETDEV2_VMQ = n
+
+XEN_HVM_GUEST = y
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel