diff -Nur mkinitrd-5.1.19.6.orig/mkinitrd mkinitrd-5.1.19.6/mkinitrd
--- mkinitrd-5.1.19.6.orig/mkinitrd	2010-08-18 10:53:42.000000000 +0100
+++ mkinitrd-5.1.19.6/mkinitrd	2010-08-26 10:13:55.000000000 +0100
@@ -76,6 +76,7 @@
 [ "$ARCH" == "s390" ] && withusb=0 || withusb=1
 [ "$MULTIPATH" == "no" ] && withmpath=0 || withmpath=1
 [ "$DMRAID" == "no" ] && withdmraid=0 || withdmraid=1
+[ "$MPPRDAC" == "yes" ] && withmpprdac=1 || withmpprdac=0
 withfips=0
 if [ -f /proc/sys/crypto/fips_enabled ]; then
     withfips=$(cat /proc/sys/crypto/fips_enabled)
@@ -124,7 +125,8 @@
     $cmd "       [--force-ide-probe] [--force-scsi-probe | --omit-scsi-modules]"
     $cmd "       [--image-version] [--force-raid-probe | --omit-raid-modules]"
     $cmd "       [--with=<module>] [--force-lvm-probe | --omit-lvm-modules]"
-    $cmd "       [--builtin=<module>] [--net-dev=<interface>] [--theme=<theme dir>] [--with-fips]"
+    $cmd "       [--builtin=<module>] [--net-dev=<interface>] [--theme=<theme dir>]"
+    $cmd "       [--with-fips] [--with-mpp-rdac]"
     $cmd "       [--without-usb] [--without-multipath] [--without-dmraid]"
     $cmd "       [--fstab=<fstab>] [--nocompress] <initrd-image> <kernel-version>"
     $cmd ""
@@ -322,6 +324,13 @@
 
         usbModName=""
     fi
+    if [ $withmpprdac -eq 1 ]; then
+        case "$modName" in
+            mptbase|megaraid_sas|mppVhba|lpfc|qla2xxx)
+                findmodule sg
+                findmodule mppUpper
+        esac
+    fi
 
     moduledep $modName
     for i in $deps; do
@@ -360,6 +369,14 @@
             findmodule $n
         done
     fi
+
+    if [ $withmpprdac -eq 1 ]; then
+	case $modName in
+	    mptscsih|megaraid_sas|qla2xxx|lpfc)
+		findmodule mppVhba
+		;;
+	esac
+    fi
 }
 
 find_scsi_dh_modules() {
@@ -958,6 +975,10 @@
             withfips=1
             ;;
 
+        --with-mpp-rdac)
+            withmpprdac=1
+            ;;
+
         --with-usb*)
             if [ "$1" != "${1##--with-usb=}" ]; then
                 usbmodule=${1##--with-usb=}
@@ -1566,6 +1587,12 @@
 if [ -e /etc/fstab.sys ]; then
     inst /etc/fstab.sys "$MNTIMAGE/etc/fstab.sys"
 fi
+if [ $withmpprdac -eq 1 -a -e /etc/mpp.conf ]; then
+    inst /etc/mpp.conf "$MNTIMAGE/etc/mpp.conf"
+fi
+if [ $withmpprdac -eq 1 -a -e /var/mpp/devicemapping ]; then
+    inst /var/mpp/devicemapping "$MNTIMAGE/var/mpp/devicemapping"
+fi
 inst /sbin/nash "$MNTIMAGE/bin/nash"
 inst /sbin/insmod.static "$MNTIMAGE/bin/insmod"
 ln -s /sbin/nash $MNTIMAGE/sbin/modprobe
