NetBSD-5.0.2/external/gpl2/libdevmapper/dist/patches/common/linux-2.4.27-config.patch

--- linux-2.4.27/Documentation/Configure.help	2004-10-14 11:07:08.000000000 -0500
+++ linux/Documentation/Configure.help	2004-10-14 14:21:13.388646440 -0500
@@ -1953,6 +1953,20 @@
   want), say M here and read <file:Documentation/modules.txt>.  The
   module will be called lvm-mod.o.
 
+Device-mapper support
+CONFIG_BLK_DEV_DM
+  Device-mapper is a low level volume manager.  It works by allowing
+  people to specify mappings for ranges of logical sectors.  Various
+  mapping types are available, in addition people may write their own
+  modules containing custom mappings if they wish.
+
+  Higher level volume managers such as LVM2 use this driver.
+
+  If you want to compile this as a module, say M here and read 
+  <file:Documentation/modules.txt>.  The module will be called dm-mod.o.
+
+  If unsure, say N.
+
 Multiple devices driver support (RAID and LVM)
 CONFIG_MD
   Support multiple physical spindles through a single logical device.
--- linux-2.4.27/MAINTAINERS	2004-10-14 11:07:15.000000000 -0500
+++ linux/MAINTAINERS	2004-10-14 14:21:13.421641757 -0500
@@ -589,6 +589,13 @@
 W:	http://www.debian.org/~dz/i8k/
 S:	Maintained
 
+DEVICE MAPPER
+P:	Alasdair Kergon
+M:	dm-devel@redhat.com
+L:	dm-devel@redhat.com
+W:	http://sources.redhat.com/dm
+S:	Maintained
+
 DEVICE NUMBER REGISTRY
 P:	H. Peter Anvin
 M:	hpa@zytor.com
--- linux-2.4.27/drivers/md/Config.in	2004-10-14 11:06:57.000000000 -0500
+++ linux/drivers/md/Config.in	2004-10-14 14:21:13.439639202 -0500
@@ -14,5 +14,7 @@
 dep_tristate '  Multipath I/O support' CONFIG_MD_MULTIPATH $CONFIG_BLK_DEV_MD
 
 dep_tristate ' Logical volume manager (LVM) support' CONFIG_BLK_DEV_LVM $CONFIG_MD
+dep_tristate ' Device-mapper support' CONFIG_BLK_DEV_DM $CONFIG_MD
+dep_tristate '  Mirror (RAID-1) support' CONFIG_BLK_DEV_DM_MIRROR $CONFIG_BLK_DEV_DM
 
 endmenu