-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
16226 lines (10179 loc) · 445 KB
/
Copy pathChangeLog
File metadata and controls
16226 lines (10179 loc) · 445 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-01-28 15:51 fmhess
* configure.ac: bumped version for 0.7.76 release.
2008-01-28 15:04 fmhess
* Makefile.am: Allow generation of devices.txt and drivers.txt to
work when builddir != srcdir.
2008-01-28 15:03 fmhess
* comedi/drivers/ni_mio_common.c: Suppress some compiler warnings
2008-01-28 14:32 fmhess
* comedi/drivers/ni_mio_common.c: Replaced an "if(0)" with an "#if
0".
2008-01-28 08:54 abbotti
* comedi/drivers/ni_pcidio.c: Fix bug in
ni_pcidio_release_di_mite_channel() that prevented subsequent
commands working (it never set devpriv->di_mite_chan to NULL
after calling mite_release_channel()).
2008-01-16 12:03 abbotti
* comedi/drivers/ni_65xx.c: Corrected number of channels for DO
subdevice.
2008-01-14 13:05 abbotti
* comedi/kcomedilib/kcomedilib_main.c: In comedi_do_insn: For
INSN_WAIT, make sure insn->n is exactly 1. For subdevice
instructions, if subdevice is unused, return -EIO. For subdevice
instructions, if chanspec is wrong, return -EINVAL.
2008-01-14 12:59 abbotti
* comedi/kcomedilib/kcomedilib_main.c: In comedi_do_insn, #if'ed
out the final check for return value of subdevice insn function
matching insn.n. Comedi documentation for userspace
comedi_do_insn allows a lower value to be returned and some
drivers blatently do so, particularly for configuration
instructions.
Also added some XXX reminder comments for INSN_WAIT and
INSN_CONFIG for things that need to be fixed.
2008-01-14 07:26 abbotti
* comedi/comedi_fops.c: Corrected test for INSN_WRITE data value
exceeding maxdata. It failed on subdevices that used per-channel
maxdata values (maxdata_list).
2008-01-14 07:13 abbotti
* comedi/comedi_fops.c: Applied comedi_indent script.
2008-01-13 18:07 bporr
* comedi/comedi_fops.c, comedi/drivers/usbdux.c,
include/linux/comedi.h: Added a proper PWM subdevice for comedi.
PWM is started with INSN_CONFIG_ARM where the second argument
defines the time how long PWM will last. A zero indicates
"forever". PWM is stopped with INSN_CONFIG_DISARM. No further
args. The duty cycle is set via a comedi_data_write where
maxdata defines the 100% duty cycle. The PWM period is set by
INSN_CONFIG_PWM_SET_PERIOD where the second argument is in
nanoseconds, thus 1E9/frequency INSN_CONFIG_PWM_GET_PERIOD
retrieves the frequency which might have been corrected by the
driver INSN_GET_PWM_STATUS queries if it's on or off
INSN_CONFIG_PWM_SET_H_BRIDGE allows the transmit the duty cycle
with a polarity bit in the second argument. See the usbdux
driver and its PWM section.
2008-01-07 06:05 abbotti
* comedi/comedi_fops.c: Only set SRF_RT subdevice flag if
comedi_switch_to_rt(dev) succeeds.
2008-01-02 12:41 abbotti
* comedi/comedi_fops.c: For COMEDI_DEVCONFIG ioctl, if argument is
NULL, refuse to unconfigure the device if any subdevices are busy
or have mmap'ed buffers. The errno is EBUSY in this case.
2008-01-02 12:04 abbotti
* comedi/comedi_fops.c: Changed read, write, poll, and mmap file
operations to use the per-device mutex. The mutex is released
during read and write operations that block.
2008-01-01 21:17 fmhess
* comedi/drivers/cb_pcidas64.c: Added board entry for 6013.
2007-12-20 10:12 abbotti
* m4/as-linux.m4: Once the linux build directory has been
determined ($LINUX_DIR), try and override the previous setting of
the LINUX_KERNEL_RELEASE variable using the release info from the
Linux build directory. Information comes from the UTS_RELEASE C
macro. For kernel versions 2.6.18 and later this is defined in
include/linux/utsrelease.h. For earlier kernel versions it is
defined in include/linux/version.h.
2007-12-17 11:43 abbotti
* configure.ac, m4/as-linux.m4: Some changes for separate Linux
source and build trees. Add LINUX_SRC_DIR variable to point to
Linux source tree (LINUX_DIR points to the Linux build tree). It
can be set with a new --with-linuxsrcdir option or determined
automatically from the build tree. Changed some configure tests
to check the Linux source tree instead of the build tree. The
affected tests are COMEDI_CHECK_PCMCIA_PROBE,
COMEDI_CHECK_LINUX_KBUILD and COMEDI_CHECK_HAVE_MUTEX_H. The
COMEDI_CHECK_LINUX_KBUILD test has been simplified because it no
longer has to check for separate source and build trees.
2007-12-12 09:55 abbotti
* comedi/comedi_fops.c, comedi/drivers.c,
include/linux/comedidev.h: Use unlocked_ioctl file operation
instead of ioctl if kernel supports it and use a mutex in struct
comedi_device. Some parts of the driver still need to be changed
to use the mutex.
2007-12-12 09:51 abbotti
* configure.ac, m4/as-linux.m4: Check for include/linux/mutex.h in
kernel source.
2007-12-12 09:47 abbotti
* include/linux/: Makefile.am, mutex.h: Added compatibility header
for <linux/mutex.h>.
2007-12-12 08:47 abbotti
* comedi/drivers/Makefile.am: For non-Kbuild make, don't build
addi-data drivers that use floating point, but include source in
EXTRA_DIST. (Kbuild make already skips these drivers.)
2007-12-12 07:42 abbotti
* comedi/drivers/addi-data/addi_common.h: Corrected type qualifiers
for pc_DriverName in boardtype.
2007-12-12 07:28 abbotti
* comedi/drivers/addi-data/hwdrv_APCI1710.h: Removed #defines for
types (now they're all in addi_common.h).
2007-12-12 07:27 abbotti
* comedi/drivers/addi-data/addi_common.h: Use typedef instead of
#define to define MS-Windows types. Add a few more pointer
types.
2007-12-12 06:34 abbotti
* comedi/comedi_compat32.c: Include <linux/ioctl32.h> if using
old-style register_ioctl32_conversion.
2007-12-11 22:12 fmhess
* comedi/drivers/ni_pcimio.c: Converted initialization of board
array to modern standard (indent does a slightly less bad job of
indenting it this way).
2007-12-05 12:02 abbotti
* comedi/comedi_fops.c: For read and write, check if command still
running in non-blocking mode as well.
2007-12-05 09:45 abbotti
* comedi/kcomedilib/kcomedilib_main.c: Check for various errors
such as subdevice in range and support for commands. Use
comedi_set_subdevice_runflags and comedi_get_subdevice_runflags
when checking/modifying SRF_RT runflag.
2007-12-05 09:41 abbotti
* include/linux/comedi_rt.h: If comedi_switch_to_rt() is a macro it
should stil have a return value.
2007-12-05 07:52 abbotti
* comedi/comedi_fops.c, comedi/comedi_ksyms.c,
comedi/kcomedilib/kcomedilib_main.c, include/linux/comedidev.h:
Use per-subdevice spin-lock instead of big_comedi_lock. Renamed
existing subdevice 'runflags_lock' to 'spin_lock' for more
general use. (Could have used a separate spin-lock for
locking/unlocking subdevices, but there shouldn't be much
contention for the existing spin-lock used for setting/ getting
runflags.)
2007-12-04 10:30 abbotti
* include/asm/io.h: Define mmiowb() macro if necessary.
2007-12-04 08:11 abbotti
* include/linux/slab.h: No need to define kcalloc() compatibility
function for kernel 2.6.9 onwards. The kzalloc() compatibility
function is still required for vanilla kernels prior to 2.6.14,
but some versions of RHEL4 2.6.9 kernel (e.g. 2.6.9-42) already
declare it, so use a macro to override it with our own version.
2007-12-03 12:47 abbotti
* comedi/drivers/amplc_pci230.c: Expanded documentation for the
driver.
2007-12-03 09:47 abbotti
* comedi/drivers/amplc_dio200.c: Report error event when command
stopped due to buffer overflow.
2007-12-03 09:43 abbotti
* comedi/drivers/amplc_dio200.c: Avoid setting s->async->inttrig to
NULL in interrupt routine.
2007-12-03 09:36 abbotti
* comedi/drivers/amplc_pci224.c: Avoid setting s->async->inttrig to
NULL in interrupt routine.
2007-12-03 08:57 abbotti
* comedi/drivers/amplc_pci230.c: For AO command, if scan_begin_src
is TRIG_INT and not using DAC FIFO, need to call comedi_event()
in the inttrig function because it isn't being called anywhere
else.
2007-12-03 08:31 abbotti
* comedi/drivers/amplc_pci230.c: Avoid changing s->async->inttrig
during an interrupt. In particular, do not set it to NULL when
stopping command during interrupt.
2007-11-30 13:37 abbotti
* comedi/drivers/amplc_pci230.c: Use DAC FIFO if the card has one
(PCI230+ hardware version 2).
2007-11-30 07:21 abbotti
* include/linux/comedi.h: Added enums for Amplicon DIO card clock
and gate sources.
2007-11-29 10:49 abbotti
* comedi/drivers/amplc_pci224.c: For AO command test step 3, return
3 if external trigger flags have been corrected.
2007-11-28 09:48 abbotti
* comedi/drivers/amplc_pci230.c: When stopping AO command, only
stop timer if using it (scan_begin_src==TRIG_TIMER).
2007-11-28 06:12 abbotti
* comedi/drivers/amplc_pci230.c: Release Z2-CT2 resource after AI
command started if convert_src is neither TRIG_TIMER nor
TRIG_INT.
2007-11-27 11:43 abbotti
* comedi/drivers/amplc_pci230.c: Avoid using software conversion
trigger as it doesn't work very well for differential mode on
some versions of PCI230/260. Use Z2 timer 2 output instead and
toggle the output in software to trigger a conversion. Note that
the ADC busy bit only works for software triggers in non-FIFO
mode, so for AI INSN_READ, use the FIFO and the FIFO status bits
to check when the conversion is complete.
2007-11-27 08:17 abbotti
* include/linux/comedi_rt.h: RTAI support was broken in
comedi-0.7.75 due to missing RTAI_VERSION_CODE and
RTAI_MANGLE_VERSION in comedi/drivers/comedi_rt_timer.c. Added
#include <rtai_version.h> to include/linux/comedi_rt.h to fix it.
2007-11-27 07:52 abbotti
* comedi/drivers/amplc_pci230.c: Insert delay after AI internal
conversion trigger (convert_src==TRIG_INT) so we don't trigger
more often than the hardware is capable of.
2007-11-26 12:56 abbotti
* comedi/drivers/amplc_pci230.c: Use programmable ADC FIFO
interrupt trigger level and ADC FIFO level registers on
PCI230+/260+ to reduce number of interrupts required when FIFO
interrupt trigger level would otherwise be "trigger when not
empty".
2007-11-25 16:22 bporr
* comedi/drivers/usbdux.c: Added PWM to the USBDUX. Also moved any
synchronous commands to EP1 which should reduce the latency
dramatically because it is single buffered which forces the host
to wait (no race checks needed anymore). The EP4 is now used for
the PWM. The bit patterns are generated in this driver and the
GPIF on the FX2 streams these automatically out through the
digital port.
2007-11-23 12:09 abbotti
* comedi/drivers/amplc_pci230.c: For AI command, allow
scan_begin_src == EXT_TRIG for PCI260+ (but not PCI260). It will
use the EXTTRIG/EXTCONVCLK input on pin 17 instead of the PPIC0
input that is used for PCI230.
2007-11-23 11:47 abbotti
* comedi/drivers/amplc_pci230.c: For AO command, support
scan_begin_src == TRIG_INT. (Not terribly useful.) Also, if
scan_begin_src == TRIG_TIMER, make sure the timer gate is set
high to enable counting.
2007-11-23 11:08 abbotti
* comedi/drivers/amplc_pci230.c: For AI commands, support TRIG_INT
for start_src, scan_begin_src and convert_src, but not all at the
same time.
2007-11-23 10:05 abbotti
* comedi/drivers/amplc_pci230.c: Increased maximum length of
channel list for AI command to 256 to allow a repeated
subsequence of channels to be used with a reasonable number of
repeats. Can't make the maximum length too long or the
generation of N pulses using a monostable as a gate would
generate too many pulses in some circumstances.
2007-11-23 09:55 abbotti
* comedi/drivers/amplc_pci230.c: Support scan_begin_src ==
TRIG_TIMER for AI command, but not at same time as AO command as
it uses one of the same 8254 counters. Also, gone back to using
timer mode 3 (square wave) instead of mode 2 (pulse) as it seems
to induce less noise.
2007-11-23 06:04 abbotti
* comedi/drivers/amplc_pci230.c: Changed some macros. No
functional changes.
2007-11-22 13:20 abbotti
* comedi/drivers/amplc_pci230.c: Overhauled setting up and handling
of commands, internal timers, and interrupts.
2007-11-21 13:14 fmhess
* comedi/drivers/adv_pci_dio.c: Fixed offset for isolated digital
input register on 1762.
2007-11-19 17:42 fmhess
* AUTHORS: Added Jeremy Theler
2007-11-19 07:26 abbotti
* comedi/drivers/amplc_pci230.c: Changed types of some members of
struct pci230_private and renamed 'ai_stop' to 'ai_continuous'
and 'ao_stop' to 'ao_continuous'. No functional changes.
2007-11-16 09:34 abbotti
* comedi/drivers/amplc_pci230.c: Reduced maximum speed (increased
minimum period) for AO conversion to 125 kHz (8000 ns).
2007-11-16 09:07 abbotti
* comedi/drivers/amplc_pci230.c: For ai_cmdtest, maximum AI convert
rate depends on whether single-ended or differential, and whether
the card is a PCI230/260 or PCI230+/260+.
2007-11-16 08:17 abbotti
* comedi/drivers/amplc_pci230.c: Need to use 'do_div' macro for
64-bit division.
2007-11-15 13:02 abbotti
* comedi/drivers/amplc_pci230.c: For ai_cmdtest, check channel list
starts with channel 0 if there is more than one channel and the
card is an older PCI230+ or PCI260+ with buggy channel
sequencing.
2007-11-15 11:11 abbotti
* comedi/drivers/amplc_pci230.c: Fix AI channel enables for
AREF_DIFF if the hardware is PCI230+ or PCI260+ due to a
difference in the way the register works between PCI230 and
PCI230+ in differential mode.
2007-11-13 07:01 abbotti
* comedi/drivers/amplc_pci230.c: For AI command, when convert_src
== TRIG_EXT, make interpretation of convert_arg backwards
compatible with previous versions if no flag bits are set.
2007-11-12 17:15 fmhess
* comedi/drivers/ni_mio_common.c: Fixed sign error that prevented
commands from aborting properly on errors.
2007-11-12 12:10 abbotti
* comedi/comedi_compat32.c: Only added a comment.
2007-11-12 11:45 abbotti
* comedi/drivers/amplc_pci230.c: For AI command, changed
interpretation of scan_begin_arg when scan_begin_src is TRIG_EXT.
Previously, 0 meant trigger on -ve edge, 1 meant +ve edge. Now,
the CR_INVERT flag is set to trigger on the -ve edge.
2007-11-12 10:04 abbotti
* comedi/drivers/amplc_pci230.c: The ADC half full flag flag and
interrupt occurs at 2049 samples, not 2048 (i.e. it's an "over
half full" flag since the FIFO size is 4096).
2007-11-12 09:58 abbotti
* comedi/drivers/amplc_pci230.c: Use arrays to look up ai gain bits
and polarity.
2007-11-12 09:16 abbotti
* comedi/drivers/adq12b.c: Stripped ".o" from driver name on
"Driver:" line for consistency.
2007-11-12 07:16 abbotti
* comedi/drivers/amplc_pci230.c: For AI INSN_READ, check for
out-of-range differential channel - only the first half of the
channel numbers can be used if analog ref is AREF_DIFF.
2007-11-10 11:59 fmhess
* comedi/drivers/: Kbuild, Makefile.am, adq12b.c: Added new driver
from jeremy theler <thelerg@ib.cnea.gov.ar> for MicroAxial
ADQ12-B.
2007-11-10 11:53 fmhess
* AUTHORS: Adding trivial email address obfuscation, since some of
the AUTHORS files are linked to from the web page.
2007-11-09 11:36 abbotti
* comedi/drivers/amplc_pci230.c: In pci230_choose_clk_src(), widen
the type of the comparison constant 6553600000 from ul to ull.
2007-11-09 11:02 abbotti
* comedi/drivers/amplc_pci230.c: Check channel lists in AI and AO
cmdtest handlers if chanlist != NULL and chanlist_len > 0.
2007-11-09 10:39 abbotti
* comedi/drivers/amplc_pci224.c: Minor line-length fixes.
2007-11-09 10:23 abbotti
* comedi/drivers/amplc_pci224.c: In cmdtest, use DPRINTK instead of
comedi_error.
2007-11-09 10:19 abbotti
* comedi/drivers/amplc_pci224.c: For cmdtest, don't return 5 if
chanlist_len == 0.
2007-11-09 09:06 abbotti
* comedi/drivers/amplc_pci224.c: For cmdtest, don't return error 5
if chanlist is NULL.
2007-11-09 08:50 abbotti
* comedi/comedi_fops.c: For COMEDI_CMD ioctl, check chanlist_len >
0.
2007-11-09 07:17 abbotti
* comedi/comedi_compat32.c: I forgot to rename comedi_compat_ioctl_
function back to comedi_compat_ioctl in the previous commit.
2007-11-09 06:12 abbotti
* comedi/: comedi_compat32.c, comedi_compat32.h: Make the
'comedi_compat_ioctl' symbole a function (again) instead of a
macro (if HAVE_COMPAT_IOCTL is defined).
2007-11-08 12:09 abbotti
* comedi/drivers/amplc_pci230.c: Got rid of the timer subdevice as
it was pretty useless and clashed with the AO and AI subdevices.
I may resurrect it as a counter subdevice at some point.
2007-11-08 12:02 abbotti
* comedi/drivers/amplc_pci230.c: Use 64-bit ns value when
determining clock source.
2007-11-08 11:45 abbotti
* comedi/drivers/amplc_pci230.c: Renamed pci_iobase to iobase1.
2007-11-08 11:33 abbotti
* comedi/drivers/amplc_pci230.c: Used specific constants for base
addresses of 8254 and 8255 chips instead of using the constants
for the first channel of each.
2007-11-08 11:21 abbotti
* comedi/drivers/amplc_pci230.c: Eliminated clock source and
divisor values from private data and combined a few functions.
Note: reading the period of the timer subdevice is now even more
broken than it was before, but I'm planning to remove it anyway
due to conflicts with the AI and AO subdevices.
2007-11-08 10:35 abbotti
* comedi/drivers/amplc_pci230.c: Renamed some macros. Now access
the timebase values via a look-up table to eliminate some switch
statements.
2007-11-08 06:51 abbotti
* comedi/drivers/amplc_pci230.c: amplc_pci230.c whitespace changes
/ comment reformatting.
2007-11-08 05:52 abbotti
* comedi/drivers/amplc_pci230.c: Spelling correction in
Description: line.
2007-11-07 12:18 abbotti
* comedi/: comedi_compat32.c, comedi_compat32.h: Fix for 2.6.10 and
earlier. Rename comedi_compat_ioctl function to
comedi_compat_ioctl_ and define comedi_compat_ioctl macro to
access it. The comedi_compat_ioctl macro expands to 0 for 2.6.10
and earlier (HAVE_COMPAT_IOCTL undefined) so it tried to define a
function called '0'!
2007-11-07 11:24 abbotti
* comedi/comedi_compat32.c: Removed a stray comment.
2007-11-07 11:18 abbotti
* comedi/comedi_compat32.c: Make sure 32-bit ioctl handler for <=
2.6.10 kernel doesn't return -ENOIOCTLCMD.
2007-11-07 11:03 abbotti
* comedi/: Kbuild, Makefile.am, comedi_compat32.c,
comedi_compat32.h, comedi_fops.c: Support 32-bit ioctl calls on
64-bit kernel (CONFIG_COMPAT).
2007-11-05 09:07 abbotti
* comedi/drivers/amplc_dio200.c: Replaced INSN_CONFIG_8254_SET_MODE
with INSN_CONFIG_SET_COUNTER_MODE.
2007-11-05 06:50 abbotti
* comedi/drivers/: me4000.c, ni_mio_common.c: Inline fixes: define
inline functions before calling them. Some versions of gcc treat
it as an error. Others will ignore the inline in this case and
compile in a function call.
2007-11-05 06:47 abbotti
* comedi/drivers/comedi_fc.h: Made cfc_bytes_per_scan() 'static
inline' instead of plain 'inline'.
2007-11-04 00:33 fmhess
* comedi/comedi_fops.c, comedi/comedi_fops.h,
comedi/comedi_ksyms.c, comedi/drivers.c, comedi/proc.c,
comedi/range.c, comedi/rt.c, comedi/rt_pend_tq.c,
comedi/rt_pend_tq.h, comedi/drivers/8253.h,
comedi/drivers/8255.c, comedi/drivers/8255.h,
comedi/drivers/acl7225b.c, comedi/drivers/addi_apci_035.c,
comedi/drivers/addi_apci_all.c, comedi/drivers/adl_pci6208.c,
comedi/drivers/adl_pci7296.c, comedi/drivers/adl_pci7432.c,
comedi/drivers/adl_pci8164.c, comedi/drivers/adl_pci9111.c,
comedi/drivers/adl_pci9118.c, comedi/drivers/adv_pci1710.c,
comedi/drivers/adv_pci_dio.c, comedi/drivers/aio_aio12_8.c,
comedi/drivers/aio_iiro_16.c, comedi/drivers/am9513.h,
comedi/drivers/amcc_s5933.h, comedi/drivers/amplc_dio200.c,
comedi/drivers/amplc_pc236.c, comedi/drivers/amplc_pc263.c,
comedi/drivers/amplc_pci224.c, comedi/drivers/amplc_pci230.c,
comedi/drivers/c6xdigio.c, comedi/drivers/cb_das16_cs.c,
comedi/drivers/cb_pcidas.c, comedi/drivers/cb_pcidas64.c,
comedi/drivers/cb_pcidda.c, comedi/drivers/cb_pcidio.c,
comedi/drivers/cb_pcimdas.c, comedi/drivers/cb_pcimdda.c,
comedi/drivers/comedi_bond.c,
comedi/drivers/comedi_counter_unstable.h,
comedi/drivers/comedi_fc.c, comedi/drivers/comedi_fc.h,
comedi/drivers/comedi_parport.c,
comedi/drivers/comedi_rt_timer.c, comedi/drivers/comedi_test.c,
comedi/drivers/contec_pci_dio.c, comedi/drivers/daqboard2000.c,
comedi/drivers/das08.c, comedi/drivers/das08.h,
comedi/drivers/das08_cs.c, comedi/drivers/das16.c,
comedi/drivers/das16m1.c, comedi/drivers/das1800.c,
comedi/drivers/das6402.c, comedi/drivers/das800.c,
comedi/drivers/dmm32at.c, comedi/drivers/dt2801.c,
comedi/drivers/dt2811.c, comedi/drivers/dt2814.c,
comedi/drivers/dt2815.c, comedi/drivers/dt2817.c,
comedi/drivers/dt282x.c, comedi/drivers/dt3000.c,
comedi/drivers/dt9812.c, comedi/drivers/dt9812.h,
comedi/drivers/fl512.c, comedi/drivers/gsc_hpdi.c,
comedi/drivers/icp_multi.c, comedi/drivers/icp_multi.h,
comedi/drivers/ii_pci20kc.c, comedi/drivers/jr3_pci.c,
comedi/drivers/jr3_pci.h, comedi/drivers/ke_counter.c,
comedi/drivers/me4000.c, comedi/drivers/me4000.h,
comedi/drivers/me_daq.c, comedi/drivers/mite.c,
comedi/drivers/mite.h, comedi/drivers/mpc624.c,
comedi/drivers/mpc8260cpm.c, comedi/drivers/multiq3.c,
comedi/drivers/ni_6527.c, comedi/drivers/ni_65xx.c,
comedi/drivers/ni_660x.c, comedi/drivers/ni_670x.c,
comedi/drivers/ni_at_a2150.c, comedi/drivers/ni_at_ao.c,
comedi/drivers/ni_atmio.c, comedi/drivers/ni_atmio16d.c,
comedi/drivers/ni_daq_dio24.c, comedi/drivers/ni_labpc.c,
comedi/drivers/ni_labpc.h, comedi/drivers/ni_labpc_cs.c,
comedi/drivers/ni_mio_common.c, comedi/drivers/ni_mio_cs.c,
comedi/drivers/ni_pcidio.c, comedi/drivers/ni_pcimio.c,
comedi/drivers/ni_stc.h, comedi/drivers/ni_tio.c,
comedi/drivers/ni_tio.h, comedi/drivers/pcl711.c,
comedi/drivers/pcl724.c, comedi/drivers/pcl725.c,
comedi/drivers/pcl726.c, comedi/drivers/pcl730.c,
comedi/drivers/pcl812.c, comedi/drivers/pcl816.c,
comedi/drivers/pcl818.c, comedi/drivers/pcm3724.c,
comedi/drivers/pcm3730.c, comedi/drivers/pcmad.c,
comedi/drivers/pcmda12.c, comedi/drivers/pcmmio.c,
comedi/drivers/pcmuio.c, comedi/drivers/plx9080.h,
comedi/drivers/poc.c, comedi/drivers/quatech_daqp_cs.c,
comedi/drivers/rtd520.c, comedi/drivers/rtd520.h,
comedi/drivers/rti800.c, comedi/drivers/rti802.c,
comedi/drivers/s526.c, comedi/drivers/s626.c,
comedi/drivers/s626.h, comedi/drivers/serial2002.c,
comedi/drivers/skel.c, comedi/drivers/ssv_dnp.c,
comedi/drivers/unioxx5.c, comedi/drivers/usbdux.c,
comedi/drivers/usbduxfast.c,
comedi/drivers/addi-data/APCI1710_82x54.c,
comedi/drivers/addi-data/APCI1710_82x54.h,
comedi/drivers/addi-data/APCI1710_Chrono.c,
comedi/drivers/addi-data/APCI1710_Chrono.h,
comedi/drivers/addi-data/APCI1710_Dig_io.c,
comedi/drivers/addi-data/APCI1710_Dig_io.h,
comedi/drivers/addi-data/APCI1710_INCCPT.c,
comedi/drivers/addi-data/APCI1710_INCCPT.h,
comedi/drivers/addi-data/APCI1710_Inp_cpt.c,
comedi/drivers/addi-data/APCI1710_Inp_cpt.h,
comedi/drivers/addi-data/APCI1710_Pwm.c,
comedi/drivers/addi-data/APCI1710_Pwm.h,
comedi/drivers/addi-data/APCI1710_Ssi.c,
comedi/drivers/addi-data/APCI1710_Ssi.h,
comedi/drivers/addi-data/APCI1710_Tor.c,
comedi/drivers/addi-data/APCI1710_Tor.h,
comedi/drivers/addi-data/APCI1710_Ttl.c,
comedi/drivers/addi-data/APCI1710_Ttl.h,
comedi/drivers/addi-data/addi_amcc_S5920.c,
comedi/drivers/addi-data/addi_amcc_S5920.h,
comedi/drivers/addi-data/addi_amcc_s5933.h,
comedi/drivers/addi-data/addi_common.c,
comedi/drivers/addi-data/addi_common.h,
comedi/drivers/addi-data/addi_eeprom.c,
comedi/drivers/addi-data/amcc_s5933_58.h,
comedi/drivers/addi-data/hwdrv_APCI1710.c,
comedi/drivers/addi-data/hwdrv_APCI1710.h,
comedi/drivers/addi-data/hwdrv_apci035.c,
comedi/drivers/addi-data/hwdrv_apci035.h,
comedi/drivers/addi-data/hwdrv_apci1032.c,
comedi/drivers/addi-data/hwdrv_apci1032.h,
comedi/drivers/addi-data/hwdrv_apci1500.c,
comedi/drivers/addi-data/hwdrv_apci1500.h,
comedi/drivers/addi-data/hwdrv_apci1516.c,
comedi/drivers/addi-data/hwdrv_apci1516.h,
comedi/drivers/addi-data/hwdrv_apci1564.c,
comedi/drivers/addi-data/hwdrv_apci1564.h,
comedi/drivers/addi-data/hwdrv_apci16xx.c,
comedi/drivers/addi-data/hwdrv_apci16xx.h,
comedi/drivers/addi-data/hwdrv_apci2016.c,
comedi/drivers/addi-data/hwdrv_apci2016.h,
comedi/drivers/addi-data/hwdrv_apci2032.c,
comedi/drivers/addi-data/hwdrv_apci2032.h,
comedi/drivers/addi-data/hwdrv_apci2200.c,
comedi/drivers/addi-data/hwdrv_apci2200.h,
comedi/drivers/addi-data/hwdrv_apci3120.c,
comedi/drivers/addi-data/hwdrv_apci3120.h,
comedi/drivers/addi-data/hwdrv_apci3200.c,
comedi/drivers/addi-data/hwdrv_apci3200.h,
comedi/drivers/addi-data/hwdrv_apci3501.c,
comedi/drivers/addi-data/hwdrv_apci3501.h,
comedi/drivers/addi-data/hwdrv_apci3xxx.c,
comedi/drivers/addi-data/hwdrv_apci3xxx.h,
comedi/kcomedilib/data.c, comedi/kcomedilib/dio.c,
comedi/kcomedilib/get.c, comedi/kcomedilib/kcomedilib_main.c,
comedi/kcomedilib/ksyms.c, include/asm/div64.h,
include/asm/dma.h, include/asm/page.h, include/asm/pgtable.h,
include/asm/semaphore.h, include/asm/types.h,
include/asm/uaccess.h, include/linux/comedi.h,
include/linux/comedi_rt.h, include/linux/comedidev.h,
include/linux/comedilib.h, include/linux/compiler.h,
include/linux/delay.h, include/linux/device.h,
include/linux/interrupt.h, include/linux/isapnp.h,
include/linux/kernel.h, include/linux/kref.h, include/linux/mm.h,
include/linux/mod_devicetable.h, include/linux/module.h,
include/linux/moduleparam.h, include/linux/pci.h,
include/linux/pci_ids.h, include/linux/pnp.h,
include/linux/sched.h, include/linux/slab.h,
include/linux/stddef.h, include/linux/time.h,
include/linux/types.h, include/linux/usb.h,
include/linux/version.h, include/linux/wrapper.h,
include/pcmcia/ds.h: Applied comedi_indent script to all source
files.
2007-11-04 00:28 fmhess
* comedi/drivers/pcl816.c: Removed some dead code that was causing
errors in indent program.
2007-11-04 00:14 fmhess
* comedi/drivers/adv_pci1710.c: Removed some dead code that
confused the indent program.
2007-11-04 00:08 fmhess
* comedi/drivers/dt9812.h: Removed a bit of ifdef'd out code that
confuses the indent program.
2007-11-03 23:45 fmhess
* scripts/comedi_indent: Added wrapper around indent utility with
options I'm going to apply to comedi source files.
2007-11-02 07:11 abbotti
* comedi/drivers.c: Security fix in comedi_buf_alloc() for non-DMA
data buffers. Allocate each page using get_zeroed_page() instead
of __get_free_page() to avoid exposing random memory contents to
user space if the buffer is mmap'ed.
2007-11-01 13:47 abbotti
* comedi/drivers/addi-data/: addi_amcc_s5933.h, addi_common.c:
Sanitize resource types. Use new comedi_pci_enable and
comedi_pci_disable functions instead of ad hoc calls to
request_region and release_region.
2007-11-01 12:14 abbotti
* comedi/drivers/: icp_multi.c, icp_multi.h: Removed tests for
whether PCI device supports bus-mastering as can't tell from PCI
device structure.
2007-11-01 12:11 abbotti
* comedi/drivers/addi-data/: addi_amcc_s5933.h, addi_common.c,
addi_common.h: Removed kernel 2.2 and 2.4 compatibility. Removed
checks for whether PCI device supports mastering as can't tell
from PCI device structure.
2007-11-01 11:39 abbotti
* comedi/drivers/: Makefile.am, adl_pci6208.c, adl_pci7296.c,
adl_pci7432.c, adl_pci8164.c, adl_pci9111.c, adl_pci9118.c,
adv_pci1710.c, adv_pci_dio.c, amplc_dio200.c, amplc_pc236.c,
amplc_pc263.c, amplc_pci224.c, amplc_pci230.c, cb_pcidas.c,
cb_pcidas64.c, cb_pcidda.c, cb_pcidio.c, cb_pcimdas.c,
cb_pcimdda.c, comedi_pci.h, contec_pci_dio.c, daqboard2000.c,
das08.c, dt3000.c, gsc_hpdi.c, icp_multi.h, jr3_pci.c,
ke_counter.c, me4000.c, me_daq.c, mite.c, rtd520.c, s626.c: New
wrapper functions in comedi/drivers/comedi_pci.h:
comedi_pci_enable() combines pci_enable_device() and
pci_request_regions(). comedi_pci_disable() combines
pci_release_regions() and pci_disable_device(). Does the right
thing for reference-counted PCI enables in 2.6.20 onwards.
2007-10-31 10:40 abbotti
* comedi/drivers/amplc_pci230.c: Check result of
subdev_8255_init().
2007-10-31 10:15 abbotti
* comedi/drivers/amplc_pci230.c: For PCI260(+) make subdevice 2
UNUSED instead of AO with no channels.
2007-10-31 10:01 abbotti
* comedi/drivers/amplc_pci230.c: Added pci230+ and pci260+.
Currently they are treated same as pci230 and pci260 apart from
the increased number of bits on the AI subdevice. The cards can
also be configured as the old pci230 or pci260.
2007-10-30 12:49 abbotti
* comedi/drivers/comedi_rt_timer.c: Untested compatibility fix for
change to rt_task_init in RTAI >= 3.3 (the context of the
callback function changed from 'int' to 'long').
2007-10-30 11:46 abbotti
* comedi/drivers/addi-data/addi_common.c: #ifdef out floating point
register stuff.
2007-10-29 11:52 abbotti
* comedi/drivers/cb_pcidio.c: Added PCI-DIO24 info supplied by
Yoshiya Matsuzaka. Its software interface is same as PCI-DIO24H
but with a different PCI device ID.
2007-10-28 20:00 tag r0_7_75
2007-10-28 20:00 fmhess
* ChangeLog: Regenerated ChangeLog with "cvs2cl -t" for 0.7.75
release.
2007-10-28 19:59 fmhess
* configure.ac: Bumped version for 0.7.75 release
2007-10-26 13:59 fmhess
* comedi/drivers/ii_pci20kc.c: Fixed compile warning on amd64.
2007-10-25 16:00 fmhess
* comedi/drivers/ni_tio.c: Don't report bogus gate errors on 660x
boards.
2007-10-25 15:56 fmhess
* include/linux/comedi.h: Added enum for setting master clock of NI
"frequency output" subdevice.
2007-10-25 15:55 fmhess
* comedi/drivers/: ni_mio_common.c, ni_stc.h: Added subdevice for
"frequency output" pin.
2007-10-25 15:49 fmhess
* comedi/comedi_fops.c: Added check against maxdata for write
instructions.
2007-10-24 17:29 fmhess
* comedi/comedi_fops.c, comedi/drivers.c,
include/linux/comedidev.h: Each comedi_async struct should have
its own wait_queue_head_t.
2007-10-24 14:14 fmhess
* comedi/drivers/ni_mio_common.c: Prevent glitches when
transitioning from static control of dio lines to waveform
output.
2007-10-24 08:37 abbotti
* comedi/drivers.c: Allocate non-DMA buffer pages using
__get_free_page(). (Use of virt_to_page on vmalloc'd memory was
incorrect and failed on x86_64 for example.) Clean up fully on
allocation failure.
2007-10-22 10:59 abbotti
* comedi/drivers/amplc_dio200.c: Check dev->attached in interrupt
routine.
2007-10-22 08:19 abbotti
* comedi/drivers/: jr3_pci.c, s526.c, s626.c, s626.h, serial2002.c,
addi-data/addi_common.c, addi-data/addi_common.h,
addi-data/hwdrv_apci16xx.c: Some 64-bit fixes.
2007-10-18 17:50 fmhess
* AUTHORS, comedi/drivers/ni_labpc_cs.c: Fix from Torben Mikael
Hansen <comedi_ns@linhard.dk> for crash probably caused by my
recent porting work.
2007-10-18 17:48 fmhess
* comedi/drivers/cb_das16_cs.c: Patch from Torben Mikael Hansen
<comedi_ns@linhard.dk> which adds device id for PCM-DAS16s/16.
2007-10-18 17:40 fmhess
* comedi/drivers/: mite.c, mite.h, ni_660x.c: Got rid of fragile
checks of specific device ids in mite.c (fixed problems with
pxi-6602 support). Added device id for pxi-6608. Made sure the
"window base size register" is disabled when using the "window
base size register 1", since it causes problems if both are
enabled simultaneously.
2007-10-18 14:01 abbotti
* comedi/drivers/: adl_pci9111.c, adl_pci9118.c, adv_pci1710.c,
amplc_dio200.c, amplc_pc236.c, cb_pcidas.c, cb_pcidas64.c,
das6402.c, dmm32at.c, dt2811.c, dt2814.c, dt282x.c, dt3000.c,
gsc_hpdi.c, icp_multi.c, me4000.c, ni_pcidio.c, pcl711.c,
pcl812.c, quatech_daqp_cs.c, rtd520.c: Some changes to deal with
interrupts before device fully attached.
2007-10-17 16:01 fmhess
* comedi/drivers/ni_660x.c: Added pci device id for pxi-6602.
2007-10-17 11:26 abbotti
* comedi/comedi_fops.c, comedi/drivers.c, comedi/rt.c,
comedi/drivers/amplc_dio200.c, comedi/drivers/cb_das16_cs.c,
comedi/drivers/comedi_rt_timer.c, comedi/drivers/das08_cs.c,
comedi/drivers/dt9812.c, comedi/drivers/jr3_pci.c,
comedi/drivers/mite.c, comedi/drivers/ni_65xx.c,
comedi/drivers/ni_daq_dio24.c, comedi/drivers/ni_labpc_cs.c,
comedi/drivers/pcmda12.c, comedi/drivers/quatech_daqp_cs.c,
comedi/drivers/unioxx5.c, comedi/drivers/usbdux.c,
include/linux/comedidev.h: Replaced kmalloc/memset sequence with
kzalloc or kcalloc.
2007-10-17 11:24 abbotti
* comedi/drivers/: pcmmio.c, pcmuio.c: Replaced kmalloc/memset
sequence with kzalloc or kcalloc. Removed call to memset after
alloc_subdevices to avoid clobbering spinlocks.
2007-10-16 15:59 fmhess
* comedi/drivers/ni_mio_common.c, include/linux/comedi.h: Added
support for scan_begin_src = TRIG_EXT on analog output commands.
2007-10-15 22:21 fmhess
* comedi/drivers/quatech_daqp_cs.c: Ported to linux 2.6.23 pcmcia
interface. Compiles, but otherwise untested.
2007-10-15 22:09 fmhess
* comedi/drivers/ni_labpc_cs.c: Ported to linux 2.6.23 pcmcia
interface. Compiles, but otherwise untested.
2007-10-15 20:35 fmhess
* comedi/drivers/ni_mio_cs.c: Ported to linux 2.6.23 pcmcia
interface. Compiles, but otherwise untested.
2007-10-14 21:15 fmhess
* comedi/drivers/ni_daq_dio24.c: Updated to linux 2.6.23 pcmcia
interface. Compiles, but untested.
2007-10-14 21:02 fmhess
* comedi/drivers/das08_cs.c: Updated to 2.6.23 pcmcia interface.
Compiles, otherwise untested.
2007-10-14 20:43 fmhess
* comedi/drivers/cb_das16_cs.c: More linux 2.6.23 pcmcia fixes.
2007-10-14 20:08 fmhess
* comedi/drivers/cb_das16_cs.c: Updated to 2.6.23 kernel pcmcia
interface. It compiles now, don't know if it actually works.
2007-10-12 15:04 fmhess
* comedi/comedi_fops.c: Pruned obsolete lseek code.
2007-10-11 10:23 abbotti
* comedi/drivers/: 8253.h, amplc_dio200.c, amplc_pci224.c,
amplc_pci230.c, cb_pcidas.c, das16.c, das16m1.c, das1800.c,
das800.c, ni_at_a2150.c, ni_labpc.c: Added regshift parameter
after base address in i8254_load(), i8254_mm_load(),
i8254_read(), i8254_mm_read(), i8254_write(), i8254_mm_write(),
i8254_set_mode(), i8254_mm_set_mode(), i8254_status(),
i8254_mm_status(). The offsets to the four 8253/8254 registers
will be shifted left by this amount. This is to cater for cards
where the four registers do not occupy consecutive bytes.