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

diff -ruN linux-2.4.20/MAINTAINERS linux/MAINTAINERS
--- linux-2.4.20/MAINTAINERS	Fri Jan 10 16:33:49 2003
+++ linux/MAINTAINERS	Thu Mar 27 14:47:03 2003
@@ -439,6 +439,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.20/drivers/md/Config.in linux/drivers/md/Config.in
--- linux-2.4.20/drivers/md/Config.in	Fri Jan 10 16:34:50 2003
+++ linux/drivers/md/Config.in	Wed Apr 23 20:23:54 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.20/Documentation/Configure.help linux/Documentation/Configure.help
--- linux-2.4.20/Documentation/Configure.help	Fri Jan 10 16:33:55 2003
+++ linux/Documentation/Configure.help	Wed Apr 30 18:22:27 2003
@@ -1822,6 +1822,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.