direct-io.hg
changeset 7711:34a0dcb1700c
Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).
Signed-off-by: Jeremy Katz <katzj@redhat.com>
(xennet.ko and xenblk.ko).
Signed-off-by: Jeremy Katz <katzj@redhat.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Wed Nov 09 14:42:15 2005 +0100 (2005-11-09) |
parents | 83ec10103067 |
children | b2ea26d2099a |
files | linux-2.6-xen-sparse/arch/xen/Kconfig linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile linux-2.6-xen-sparse/drivers/xen/netfront/Makefile |
line diff
1.1 --- a/linux-2.6-xen-sparse/arch/xen/Kconfig Wed Nov 09 14:41:37 2005 +0100 1.2 +++ b/linux-2.6-xen-sparse/arch/xen/Kconfig Wed Nov 09 14:42:15 2005 +0100 1.3 @@ -94,7 +94,7 @@ config XEN_TPMDEV_CLOSE_IF_VTPM_FAILS 1.4 Say Y if you want this feature. 1.5 1.6 config XEN_BLKDEV_FRONTEND 1.7 - bool "Block-device frontend driver" 1.8 + tristate "Block-device frontend driver" 1.9 default y 1.10 help 1.11 The block-device frontend driver allows the kernel to access block 1.12 @@ -103,7 +103,7 @@ config XEN_BLKDEV_FRONTEND 1.13 (domain 0), then you almost certainly want to say Y here. 1.14 1.15 config XEN_NETDEV_FRONTEND 1.16 - bool "Network-device frontend driver" 1.17 + tristate "Network-device frontend driver" 1.18 default y 1.19 help 1.20 The network-device frontend driver allows the kernel to access
2.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile Wed Nov 09 14:41:37 2005 +0100 2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile Wed Nov 09 14:42:15 2005 +0100 2.3 @@ -1,3 +1,5 @@ 2.4 2.5 -obj-y := blkfront.o vbd.o 2.6 +obj-$(CONFIG_XEN_BLKDEV_FRONTEND) := xenblk.o 2.7 2.8 +xenblk-objs := blkfront.o vbd.o 2.9 +
3.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile Wed Nov 09 14:41:37 2005 +0100 3.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile Wed Nov 09 14:42:15 2005 +0100 3.3 @@ -1,2 +1,4 @@ 3.4 3.5 -obj-y := netfront.o 3.6 +obj-$(CONFIG_XEN_NETDEV_FRONTEND) := xennet.o 3.7 + 3.8 +xennet-objs := netfront.o