Added a test for SDF_RT
authorDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 00:16:56 +0000 (00:16 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 00:16:56 +0000 (00:16 +0000)
comedi/drivers/check_driver

index 37a971410e1c5b279bbc19107077a643c48d9b49..85c6ff5470eaa29d21afb65c0e900565a94f064f 100755 (executable)
@@ -338,6 +338,11 @@ if [ -f "${basedriver}.o" ];then
        fi
 fi
 
+# Check if the driver contains SDF_RT, which isn't used by the core
+if grep '\r' ${driver} &>/dev/null;then
+       echo "E: driver uses SDF_RT"
+fi
+
 if [ $irq = yes ];then
 if [ $pci = yes ];then
        if ! grep SA_SHIRQ ${driver} &>/dev/null;then