projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
921182d
)
Add test for SDF aref flags
author
David Schleef
<ds@schleef.org>
Mon, 18 Nov 2002 23:31:49 +0000
(23:31 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 18 Nov 2002 23:31:49 +0000
(23:31 +0000)
scripts/check_driver
patch
|
blob
|
history
diff --git
a/scripts/check_driver
b/scripts/check_driver
index 247168d348ff9dad0643467a1b9ba3e5f997f8c9..0edb5589ae7b745f44bd3647ddad5a971bf7fe1d 100755
(executable)
--- 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
+