Add test for SDF aref flags
authorDavid Schleef <ds@schleef.org>
Mon, 18 Nov 2002 23:31:49 +0000 (23:31 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 18 Nov 2002 23:31:49 +0000 (23:31 +0000)
scripts/check_driver

index 247168d348ff9dad0643467a1b9ba3e5f997f8c9..0edb5589ae7b745f44bd3647ddad5a971bf7fe1d 100755 (executable)
@@ -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
+