All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow building netfront and blkfront as modules
@ 2005-11-09  3:53 Jeremy Katz
  0 siblings, 0 replies; only message in thread
From: Jeremy Katz @ 2005-11-09  3:53 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Ian Pratt

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).  

Signed-off-by: Jeremy Katz <katzj@redhat.com>

Jeremy

[-- Attachment #2: xen-modular-netblock.patch --]
[-- Type: text/x-patch, Size: 1456 bytes --]

diff -r abbe3df33774 linux-2.6-xen-sparse/arch/xen/Kconfig
--- a/linux-2.6-xen-sparse/arch/xen/Kconfig	Tue Nov  8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/arch/xen/Kconfig	Tue Nov  8 22:52:32 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 abbe3df33774 linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile	Tue Nov  8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile	Tue Nov  8 22:52:32 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 abbe3df33774 linux-2.6-xen-sparse/drivers/xen/netfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile	Tue Nov  8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile	Tue Nov  8 22:52:32 2005
@@ -1,2 +1,4 @@
 
-obj-y	:= netfront.o
+obj-$(CONFIG_XEN_NETDEV_FRONTEND)	:= xennet.o
+
+xennet-objs := netfront.o

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-09  3:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09  3:53 [PATCH] Allow building netfront and blkfront as modules Jeremy Katz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.