[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Attached patch allows building of netfront and blkfront as modules



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 34a0dcb1700cc8f159353d770aa69048837bea57
# Parent  83ec10103067c69b5692b99429de8a7648a40d8f
Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).  

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

diff -r 83ec10103067 -r 34a0dcb1700c linux-2.6-xen-sparse/arch/xen/Kconfig
--- a/linux-2.6-xen-sparse/arch/xen/Kconfig     Wed Nov  9 13:41:37 2005
+++ b/linux-2.6-xen-sparse/arch/xen/Kconfig     Wed Nov  9 13:42:15 2005
@@ -94,7 +94,7 @@
           Say Y if you want this feature.
 
 config XEN_BLKDEV_FRONTEND
-       bool "Block-device frontend driver"
+       tristate "Block-device frontend driver"
        default y
        help
          The block-device frontend driver allows the kernel to access block
@@ -103,7 +103,7 @@
          (domain 0), then you almost certainly want to say Y here.
 
 config XEN_NETDEV_FRONTEND
-       bool "Network-device frontend driver"
+       tristate "Network-device frontend driver"
        default y
        help
          The network-device frontend driver allows the kernel to access
diff -r 83ec10103067 -r 34a0dcb1700c 
linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile        Wed Nov  9 
13:41:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile        Wed Nov  9 
13:42:15 2005
@@ -1,3 +1,5 @@
 
-obj-y  := blkfront.o vbd.o
+obj-$(CONFIG_XEN_BLKDEV_FRONTEND)      := xenblk.o
 
+xenblk-objs := blkfront.o vbd.o
+
diff -r 83ec10103067 -r 34a0dcb1700c 
linux-2.6-xen-sparse/drivers/xen/netfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile        Wed Nov  9 
13:41:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile        Wed Nov  9 
13:42:15 2005
@@ -1,2 +1,4 @@
 
-obj-y  := netfront.o
+obj-$(CONFIG_XEN_NETDEV_FRONTEND)      := xennet.o
+
+xennet-objs := netfront.o

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.