pdir=../send-rtcan-mscan-mpc5xxx/
sprefix="PATCH xenomai-2.5"
commitid=b197fe0f370d92ee1838b370fbf927ca50a0e573
subject="rtcan: mscan: new OF platform driver for MPC521x and MPC5200"
blurb="\
This patch series adds RT-Socket-CAN support for the MSCAN on the MPC512x\\
from Freescale by introducing a new OF platform driver for both, the\\
MPC521x and MPC5200, while still keeping the old driver for the MPC5200\\
for compatibility with older kernel versions.\\
\\
Wolfgang"

rm -f $pdir/*.patch
mkdir $pdir
opt="--dry-run"
test "$1" = "send" && opt=""

git format-patch -n -o $pdir --cover-letter --subject-prefix="$sprefix" \
    $commitid

mv $pdir/0000-cover-letter.patch /tmp/0000-cover-letter.patch
sed "
s/\*\*\* SUBJECT HERE \*\*\*/$subject/
s/\*\*\* BLURB HERE \*\*\*/$blurb/
" /tmp/0000-cover-letter.patch > $pdir/0000-cover-letter.patch

echo "====================================================================="
cat $pdir/0000-cover-letter.patch
echo "====================================================================="

opt="--dry-run"
test "$1" = "send" && opt=""

git format-patch -o $pdir --subject-prefix="$sprefix" $commitid

echo "opt=$opt"
git send-email $opt \
    --to "Xenomai-core@gna.org" \
    --from="Wolfgang Grandegger <w...@grandegger.com>" \
    $pdir


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to