projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f324305
)
Added a test for SDF_RT
author
David Schleef
<ds@schleef.org>
Tue, 22 Jan 2002 00:16:56 +0000
(
00:16
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 22 Jan 2002 00:16:56 +0000
(
00:16
+0000)
comedi/drivers/check_driver
patch
|
blob
|
history
diff --git
a/comedi/drivers/check_driver
b/comedi/drivers/check_driver
index 37a971410e1c5b279bbc19107077a643c48d9b49..85c6ff5470eaa29d21afb65c0e900565a94f064f 100755
(executable)
--- a/
comedi/drivers/check_driver
+++ b/
comedi/drivers/check_driver
@@
-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