From b8327d48d9ddd66ccafe6d4c31d2016a15d43e81 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 10 Feb 2000 04:52:32 +0000 Subject: [PATCH] Updates for dt2801 driver --- Makefile | 7 ++++--- comedi/Makefile | 1 + comedi/range.c | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 04fb0c8f..03347ba6 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ VERS3 = 39 INSTALLDIR=/usr -#LINUXDIR = /usr/src/linux -LINUXDIR = /d/ds/cvs/rtl/linux22 +LINUXDIR = /usr/src/linux +#LINUXDIR = /d/ds/cvs/rtl/linux22 #LINUXDIR = /d/ds/cvs/linux22 # define the following if you want to compile using RTL @@ -111,6 +111,7 @@ endif modules: $(patsubst %, _mod_%, $(SUBDIRS)) $(patsubst %, _mod_%, $(SUBDIRS)) : dummy + -mkdir modules $(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules clean: @@ -124,7 +125,7 @@ distclean: clean rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS - -rm -f modules/* + -rm -rf modules rm -f .config .uts_version include/config.h include $(TOPDIR)/Rules.make diff --git a/comedi/Makefile b/comedi/Makefile index 3e0ae4c2..c13575c5 100644 --- a/comedi/Makefile +++ b/comedi/Makefile @@ -34,6 +34,7 @@ MI_OBJS += rtl_v1.o endif range-y := range.c +range-$(CONFIG_COMEDI_DT2801) += drivers/dt2801.c range-$(CONFIG_COMEDI_DT2811) += drivers/dt2811.c range-$(CONFIG_COMEDI_DT2815) += drivers/dt2815.c range-$(CONFIG_COMEDI_DT282x) += drivers/dt282x.c diff --git a/comedi/range.c b/comedi/range.c index e2944097..d0dc1e13 100644 --- a/comedi/range.c +++ b/comedi/range.c @@ -36,6 +36,8 @@ RANGE_bipolar10 -10 10 RANGE_bipolar5 -5 5 +RANGE_bipolar2_5 + -5 5 RANGE_unipolar10 0 10 RANGE_unipolar5 -- 2.26.2