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

diff -ruN linux-2.4.21/MAINTAINERS linux/MAINTAINERS
--- linux-2.4.21/MAINTAINERS	Fri Jun 13 16:32:30 2003
+++ linux/MAINTAINERS	Wed Aug 13 14:56:11 2003
@@ -476,6 +476,13 @@
 W:	http://www.debian.org/~dz/i8k/
 S:	Maintained
 
+DEVICE MAPPER
+P:	Joe Thornber
+M:	dm@uk.sistina.com
+L:	linux-LVM@sistina.com
+W:	http://www.sistina.com/lvm
+S:	Maintained
+
 DEVICE NUMBER REGISTRY
 P:	H. Peter Anvin
 M:	hpa@zytor.com
diff -ruN linux-2.4.21/drivers/md/Config.in linux/drivers/md/Config.in
--- linux-2.4.21/drivers/md/Config.in	Fri Jan 10 16:34:50 2003
+++ linux/drivers/md/Config.in	Wed Aug 13 15:00:50 2003
@@ -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
diff -ruN linux-2.4.21/Documentation/Configure.help linux/Documentation/Configure.help
--- linux-2.4.21/Documentation/Configure.help	Fri Jun 13 16:32:30 2003
+++ linux/Documentation/Configure.help	Wed Aug 13 14:56:11 2003
@@ -1839,6 +1839,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.