From: David Schleef Date: Mon, 18 Nov 2002 23:31:49 +0000 (+0000) Subject: Add test for SDF aref flags X-Git-Tag: r0_7_66~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33ea3702fffab2a7ca62828cab82b731573c2f8f;p=comedi.git Add test for SDF aref flags --- diff --git a/scripts/check_driver b/scripts/check_driver index 247168d3..0edb5589 100755 --- a/scripts/check_driver +++ b/scripts/check_driver @@ -397,3 +397,9 @@ if grep 'write[wlb] *([^(,]*iobase' ${driver} &>/dev/null; then echo "E: writeX(dev->iobase + offset,XXX)" fi +if grep 'COMEDI_SUBD_AI' ${driver} &>/dev/null;then + if ! grep 'SDF_\(GROUND\|COMMON\|DIFF\|OTHER\)' ${driver} &>/dev/null;then + echo "E: Driver doesn't set SDF flags for aref's it supports" + fi +fi +