From 33ea3702fffab2a7ca62828cab82b731573c2f8f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 18 Nov 2002 23:31:49 +0000 Subject: [PATCH] Add test for SDF aref flags --- scripts/check_driver | 6 ++++++ 1 file changed, 6 insertions(+) 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 + -- 2.26.2