5 COMEDI - Linux Control and Measurement Device Interface
6 Copyright (C) 2000 David A. Schleef <ds@schleef.org>
7 Copyright (C) 2001,2002,2003 Frank Mori Hess <fmhess@users.sourceforge.net>
8 Copyright (C) 2004 Salvador E. Tropea <set@users.sf.net> <set@ieee.org>
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 *****************************************************************
29 Description: DAS-08 compatible boards
30 Author: Warren Jasper, ds, Frank Hess
31 Devices: [Keithley Metrabyte] DAS08 (das08), [ComputerBoards] DAS08 (das08),
32 DAS08-PGM (das08-pgm),
33 DAS08-PGH (das08-pgh), DAS08-PGL (das08-pgl), DAS08-AOH (das08-aoh),
34 DAS08-AOL (das08-aol), DAS08-AOM (das08-aom), DAS08/JR-AO (das08/jr-ao),
35 DAS08/JR-16-AO (das08jr-16-ao), PCI-DAS08 (pci-das08),
36 PC104-DAS08 (pc104-das08), DAS08/JR/16 (das08jr/16)
39 This is a rewrite of the das08 and das08jr drivers.
41 Options (for ISA cards):
44 Options (for pci-das08):
47 Use the name 'pci-das08' for the pci-das08, NOT 'das08'.
49 The das08 driver doesn't support asynchronous commands, since
50 the cheap das08 hardware doesn't really support them. The
51 comedi_rt_timer driver can be used to emulate commands for this
55 #include <linux/comedidev.h>
57 #include <linux/delay.h>
59 #include "comedi_pci.h"
63 #define PCI_VENDOR_ID_COMPUTERBOARDS 0x1307
64 #define PCI_DEVICE_ID_PCIDAS08 0x29
65 #define PCIDAS08_SIZE 0x54
67 // pci configuration registers
69 #define INTR1_ENABLE 0x1
70 #define INTR1_HIGH_POLARITY 0x2
71 #define PCI_INTR_ENABLE 0x40
72 #define INTR1_EDGE_TRIG 0x100 // requires high polarity
75 #define CNTRL_INTR 0x4
82 0 a/d bits 0-3 start 8 bit
83 1 a/d bits 4-11 start 12 bit
84 2 eoc, ip1-3, irq, mux op1-4, inte, mux
89 requires hard-wiring for async ai
95 #define DAS08_TRIG_12BIT 1
96 #define DAS08_STATUS 2
97 #define DAS08_EOC (1<<7)
98 #define DAS08_IRQ (1<<3)
99 #define DAS08_IP(x) (((x)>>4)&0x7)
100 #define DAS08_CONTROL 2
101 #define DAS08_MUX_MASK 0x7
102 #define DAS08_MUX(x) ((x) & DAS08_MUX_MASK)
103 #define DAS08_INTE (1<<3)
104 #define DAS08_DO_MASK 0xf0
105 #define DAS08_OP(x) (((x) << 4) & DAS08_DO_MASK)
112 0 a/d bits 0-3 unused
113 1 a/d bits 4-11 start 12 bit
123 #define DAS08JR_DIO 3
124 #define DAS08JR_AO_LSB(x) ((x)?6:4)
125 #define DAS08JR_AO_MSB(x) ((x)?7:5)
134 0 a/d bits 0-3 start 8 bit
135 1 a/d bits 4-11 start 12 bit
136 2 eoc, ip1-3, irq, mux op1-4, inte, mux
137 3 mux, gain status gain control
147 #define DAS08AO_GAIN_CONTROL 3
148 #define DAS08AO_GAIN_STATUS 3
150 #define DAS08AO_AO_LSB(x) ((x)?0xa:8)
151 #define DAS08AO_AO_MSB(x) ((x)?0xb:9)
152 #define DAS08AO_AO_UPDATE 8
154 /* gainlist same as _pgx_ below */
156 static int das08_ai_rinsn(comedi_device * dev, comedi_subdevice * s,
157 comedi_insn * insn, lsampl_t * data);
158 static int das08_di_rbits(comedi_device * dev, comedi_subdevice * s,
159 comedi_insn * insn, lsampl_t * data);
160 static int das08_do_wbits(comedi_device * dev, comedi_subdevice * s,
161 comedi_insn * insn, lsampl_t * data);
162 static int das08jr_di_rbits(comedi_device * dev, comedi_subdevice * s,
163 comedi_insn * insn, lsampl_t * data);
164 static int das08jr_do_wbits(comedi_device * dev, comedi_subdevice * s,
165 comedi_insn * insn, lsampl_t * data);
166 static int das08jr_ao_winsn(comedi_device * dev, comedi_subdevice * s,
167 comedi_insn * insn, lsampl_t * data);
168 static int das08ao_ao_winsn(comedi_device * dev, comedi_subdevice * s,
169 comedi_insn * insn, lsampl_t * data);
170 static void i8254_set_mode_low(unsigned int base, int channel,
173 static const comedi_lrange range_das08_pgl = { 9, {
185 static const comedi_lrange range_das08_pgh = { 12, {
200 static const comedi_lrange range_das08_pgm = { 9, {
216 0 a/d bits 0-3 unused
217 1 a/d bits 4-11 start 12 bit
227 static const comedi_lrange *const das08_ai_lranges[] = {
235 static const int das08_pgh_gainlist[] =
236 { 8, 0, 10, 2, 12, 4, 14, 6, 1, 3, 5, 7 };
237 static const int das08_pgl_gainlist[] = { 8, 0, 2, 4, 6, 1, 3, 5, 7 };
238 static const int das08_pgm_gainlist[] = { 8, 0, 10, 12, 14, 9, 11, 13, 15 };
240 static const int *const das08_gainlists[] = {
248 static const struct das08_board_struct das08_boards[] = {
250 name: "das08", // cio-das08.pdf
254 ai_pg: das08_pg_none,
255 ai_encoding:das08_encode12,
263 iosize: 16, // unchecked
266 name: "das08-pgm", // cio-das08pgx.pdf
271 ai_encoding:das08_encode12,
278 iosize: 16, // unchecked
281 name: "das08-pgh", // cio-das08pgx.pdf
286 ai_encoding:das08_encode12,
293 iosize: 16, // unchecked
296 name: "das08-pgl", // cio-das08pgx.pdf
301 ai_encoding:das08_encode12,
308 iosize: 16, // unchecked
311 name: "das08-aoh", // cio-das08_aox.pdf
316 ai_encoding:das08_encode12,
317 ao: das08ao_ao_winsn, // 8
324 iosize: 16, // unchecked
327 name: "das08-aol", // cio-das08_aox.pdf
332 ai_encoding:das08_encode12,
333 ao: das08ao_ao_winsn, // 8
340 iosize: 16, // unchecked
343 name: "das08-aom", // cio-das08_aox.pdf
348 ai_encoding:das08_encode12,
349 ao: das08ao_ao_winsn, // 8
356 iosize: 16, // unchecked
359 name: "das08/jr-ao", // cio-das08-jr-ao.pdf
363 ai_pg: das08_pg_none,
364 ai_encoding:das08_encode12,
365 ao: das08jr_ao_winsn,
367 di: das08jr_di_rbits,
368 do_: das08jr_do_wbits,
372 iosize: 16, // unchecked
375 name: "das08jr-16-ao", // cio-das08jr-16-ao.pdf
379 ai_pg: das08_pg_none,
380 ai_encoding:das08_encode12,
381 ao: das08jr_ao_winsn,
383 di: das08jr_di_rbits,
384 do_: das08jr_do_wbits,
388 iosize: 16, // unchecked
392 id: PCI_DEVICE_ID_PCIDAS08,
396 ai_pg: das08_bipolar5,
397 ai_encoding:das08_encode12,
412 ai_pg: das08_pg_none,
413 ai_encoding:das08_encode12,
421 iosize: 16, // unchecked
436 ai_pg: das08_pg_none,
437 ai_encoding:das08_encode16,
440 di: das08jr_di_rbits,
441 do_: das08jr_do_wbits,
445 iosize: 16, // unchecked
449 name: "das48-pga", // cio-das48-pga.pdf
452 name: "das08-pga-g2", // a KM board
457 struct das08_board_struct das08_cs_boards[NUM_DAS08_CS_BOARDS] = {
464 ai_pg: das08_bipolar5,
465 ai_encoding:das08_pcm_encode12,
475 // duplicate so driver name can be used also
482 ai_pg: das08_bipolar5,
483 ai_encoding:das08_pcm_encode12,
495 static struct pci_device_id das08_pci_table[] __devinitdata = {
496 {PCI_VENDOR_ID_COMPUTERBOARDS, PCI_DEVICE_ID_PCIDAS08, PCI_ANY_ID,
497 PCI_ANY_ID, 0, 0, 0},
501 MODULE_DEVICE_TABLE(pci, das08_pci_table);
503 #define devpriv ((struct das08_private_struct *)dev->private)
504 #define thisboard ((const struct das08_board_struct *)dev->board_ptr)
506 #define TIMEOUT 100000
508 static int das08_ai_rinsn(comedi_device * dev, comedi_subdevice * s,
509 comedi_insn * insn, lsampl_t * data)
516 chan = CR_CHAN(insn->chanspec);
517 range = CR_RANGE(insn->chanspec);
520 inb(dev->iobase + DAS08_LSB);
521 inb(dev->iobase + DAS08_MSB);
523 /* set multiplexer */
524 spin_lock(&dev->spinlock); // lock to prevent race with digital output
525 devpriv->do_mux_bits &= ~DAS08_MUX_MASK;
526 devpriv->do_mux_bits |= DAS08_MUX(chan);
527 outb(devpriv->do_mux_bits, dev->iobase + DAS08_CONTROL);
528 spin_unlock(&dev->spinlock);
530 if (s->range_table->length > 1) {
532 range = CR_RANGE(insn->chanspec);
533 outb(devpriv->pg_gainlist[range],
534 dev->iobase + DAS08AO_GAIN_CONTROL);
537 for (n = 0; n < insn->n; n++) {
538 /* clear over-range bits for 16-bit boards */
539 if (thisboard->ai_nbits == 16)
540 if (inb(dev->iobase + DAS08_MSB) & 0x80)
541 rt_printk("das08: over-range\n");
543 /* trigger conversion */
544 outb_p(0, dev->iobase + DAS08_TRIG_12BIT);
546 for (i = 0; i < TIMEOUT; i++) {
547 if (!(inb(dev->iobase + DAS08_STATUS) & DAS08_EOC))
551 rt_printk("das08: timeout\n");
554 msb = inb(dev->iobase + DAS08_MSB);
555 lsb = inb(dev->iobase + DAS08_LSB);
556 if (thisboard->ai_encoding == das08_encode12) {
557 data[n] = (lsb >> 4) | (msb << 4);
558 } else if (thisboard->ai_encoding == das08_pcm_encode12) {
559 data[n] = (msb << 8) + lsb;
560 } else if (thisboard->ai_encoding == das08_encode16) {
561 /* FPOS 16-bit boards are sign-magnitude */
563 data[n] = (1 << 15) | lsb | ((msb & 0x7f) << 8);
565 data[n] = (1 << 15) - (lsb | (msb & 0x7f) << 8);
567 comedi_error(dev, "bug! unknown ai encoding");
575 static int das08_di_rbits(comedi_device * dev, comedi_subdevice * s,
576 comedi_insn * insn, lsampl_t * data)
579 data[1] = DAS08_IP(inb(dev->iobase + DAS08_STATUS));
584 static int das08_do_wbits(comedi_device * dev, comedi_subdevice * s,
585 comedi_insn * insn, lsampl_t * data)
589 // get current settings of digital output lines
590 wbits = (devpriv->do_mux_bits >> 4) & 0xf;
591 // null bits we are going to set
593 // set new bit values
594 wbits |= data[0] & data[1];
595 // remember digital output bits
596 spin_lock(&dev->spinlock); // prevent race with setting of analog input mux
597 devpriv->do_mux_bits &= ~DAS08_DO_MASK;
598 devpriv->do_mux_bits |= DAS08_OP(wbits);
599 outb(devpriv->do_mux_bits, dev->iobase + DAS08_CONTROL);
600 spin_unlock(&dev->spinlock);
607 static int das08jr_di_rbits(comedi_device * dev, comedi_subdevice * s,
608 comedi_insn * insn, lsampl_t * data)
611 data[1] = inb(dev->iobase + DAS08JR_DIO);
616 static int das08jr_do_wbits(comedi_device * dev, comedi_subdevice * s,
617 comedi_insn * insn, lsampl_t * data)
619 // null bits we are going to set
620 devpriv->do_bits &= ~data[0];
621 // set new bit values
622 devpriv->do_bits |= data[0] & data[1];
623 outb(devpriv->do_bits, dev->iobase + DAS08JR_DIO);
625 data[1] = devpriv->do_bits;
630 static int das08jr_ao_winsn(comedi_device * dev, comedi_subdevice * s,
631 comedi_insn * insn, lsampl_t * data)
637 lsb = data[0] & 0xff;
638 msb = (data[0] >> 8) & 0xf;
640 chan = CR_CHAN(insn->chanspec);
642 for (n = 0; n < insn->n; n++) {
644 outb(lsb, dev->iobase + devpriv->ao_offset_lsb[chan]);
645 outb(msb, dev->iobase + devpriv->ao_offset_msb[chan]);
647 outb(lsb, dev->iobase + DAS08JR_AO_LSB(chan));
648 outb(msb, dev->iobase + DAS08JR_AO_MSB(chan));
652 inb(dev->iobase + DAS08JR_DIO);
660 * The -aox boards have the DACs at a different offset and use
661 * a different method to force an update.
664 static int das08ao_ao_winsn(comedi_device * dev, comedi_subdevice * s,
665 comedi_insn * insn, lsampl_t * data)
671 lsb = data[0] & 0xff;
672 msb = (data[0] >> 8) & 0xf;
674 chan = CR_CHAN(insn->chanspec);
676 for (n = 0; n < insn->n; n++) {
678 outb(lsb, dev->iobase + devpriv->ao_offset_lsb[chan]);
679 outb(msb, dev->iobase + devpriv->ao_offset_msb[chan]);
681 outb(lsb, dev->iobase + DAS08AO_AO_LSB(chan));
682 outb(msb, dev->iobase + DAS08AO_AO_MSB(chan));
686 inb(dev->iobase + DAS08AO_AO_UPDATE);
692 static unsigned int i8254_read_channel_low(unsigned int base, int chan)
694 unsigned int msb, lsb;
696 /* The following instructions must be in order.
697 We must avoid other process reading the counter's value in the
699 The spin_lock isn't needed since ioctl calls grab the big kernel
700 lock automatically */
702 outb(chan << 6, base + I8254_CTRL);
706 /*spin_unlock(sp); */
708 return lsb | (msb << 8);
711 static void i8254_write_channel_low(unsigned int base, int chan,
714 unsigned int msb, lsb;
719 /* write lsb, then msb */
721 /* See comments in i8254_read_channel_low */
725 /*spin_unlock(sp); */
728 static unsigned int i8254_read_channel(struct i8254_struct *st, int channel)
730 int chan = st->logic2phys[channel];
732 return i8254_read_channel_low(st->iobase, chan);
735 static void i8254_write_channel(struct i8254_struct *st, int channel,
738 int chan = st->logic2phys[channel];
740 i8254_write_channel_low(st->iobase, chan, value);
743 static void i8254_initialize(struct i8254_struct *st)
746 for (i = 0; i < 3; ++i)
747 i8254_set_mode_low(st->iobase, i, st->mode[i]);
750 static void i8254_set_mode_low(unsigned int base, int channel,
753 outb((channel << 6) | 0x30 | (mode & 0x0F), base + I8254_CTRL);
756 static void i8254_set_mode(struct i8254_struct *st, int channel,
759 int chan = st->logic2phys[channel];
761 st->mode[chan] = mode;
762 return i8254_set_mode_low(st->iobase, chan, mode);
765 static unsigned int i8254_read_status_low(unsigned int base, int channel)
767 outb(0xE0 | (2 << channel), base + I8254_CTRL);
768 return inb(base + channel);
771 static unsigned int i8254_read_status(struct i8254_struct *st, int channel)
773 int chan = st->logic2phys[channel];
775 return i8254_read_status_low(st->iobase, chan);
778 static int das08_counter_read(comedi_device * dev, comedi_subdevice * s,
779 comedi_insn * insn, lsampl_t * data)
781 int chan = insn->chanspec;
783 //printk("Reading counter channel %d ",chan);
784 data[0] = i8254_read_channel(&devpriv->i8254, chan);
785 //printk("=> 0x%08X\n",data[0]);
790 static int das08_counter_write(comedi_device * dev, comedi_subdevice * s,
791 comedi_insn * insn, lsampl_t * data)
793 int chan = insn->chanspec;
795 //printk("Writing counter channel %d with 0x%04X\n",chan,data[0]);
796 i8254_write_channel(&devpriv->i8254, chan, data[0]);
801 static int das08_counter_config(comedi_device * dev, comedi_subdevice * s,
802 comedi_insn * insn, lsampl_t * data)
804 int chan = insn->chanspec;
810 case INSN_CONFIG_SET_COUNTER_MODE:
811 i8254_set_mode(&devpriv->i8254, chan, data[1]);
813 case INSN_CONFIG_8254_READ_STATUS:
814 data[1] = i8254_read_status(&devpriv->i8254, chan);
823 static int das08_attach(comedi_device * dev, comedi_devconfig * it);
825 static comedi_driver driver_das08 = {
829 detach:das08_common_detach,
830 board_name:&das08_boards[0].name,
831 num_names:sizeof(das08_boards) /
832 sizeof(struct das08_board_struct),
833 offset:sizeof(struct das08_board_struct),
836 int das08_common_attach(comedi_device * dev, unsigned long iobase)
841 // allocate ioports for non-pcmcia, non-pci boards
842 if ((thisboard->bustype != pcmcia) && (thisboard->bustype != pci)) {
843 printk(" iobase 0x%lx\n", iobase);
844 if (!request_region(iobase, thisboard->iosize, "das08")) {
845 printk(" I/O port conflict\n");
849 dev->iobase = iobase;
851 dev->board_name = thisboard->name;
853 if ((ret = alloc_subdevices(dev, 6)) < 0)
856 s = dev->subdevices + 0;
859 s->type = COMEDI_SUBD_AI;
860 /* XXX some boards actually have differential inputs instead of single ended.
861 * The driver does nothing with arefs though, so it's no big deal. */
862 s->subdev_flags = SDF_READABLE | SDF_GROUND;
864 s->maxdata = (1 << thisboard->ai_nbits) - 1;
865 s->range_table = das08_ai_lranges[thisboard->ai_pg];
866 s->insn_read = thisboard->ai;
867 devpriv->pg_gainlist = das08_gainlists[thisboard->ai_pg];
869 s->type = COMEDI_SUBD_UNUSED;
872 s = dev->subdevices + 1;
875 s->type = COMEDI_SUBD_AO;
876 // XXX lacks read-back insn
877 s->subdev_flags = SDF_WRITABLE;
879 s->maxdata = (1 << thisboard->ao_nbits) - 1;
880 s->range_table = &range_bipolar5;
881 s->insn_write = thisboard->ao;
883 s->type = COMEDI_SUBD_UNUSED;
886 s = dev->subdevices + 2;
889 s->type = COMEDI_SUBD_DI;
890 s->subdev_flags = SDF_READABLE;
891 s->n_chan = (thisboard->di == das08_di_rbits) ? 3 : 8;
893 s->range_table = &range_digital;
894 s->insn_bits = thisboard->di;
896 s->type = COMEDI_SUBD_UNUSED;
899 s = dev->subdevices + 3;
901 if (thisboard->do_) {
902 s->type = COMEDI_SUBD_DO;
903 s->subdev_flags = SDF_WRITABLE | SDF_READABLE;
904 s->n_chan = thisboard->do_nchan;
906 s->range_table = &range_digital;
907 s->insn_bits = thisboard->do_;
909 s->type = COMEDI_SUBD_UNUSED;
912 s = dev->subdevices + 4;
914 if (thisboard->i8255_offset != 0) {
915 subdev_8255_init(dev, s, NULL, (unsigned long)(dev->iobase +
916 thisboard->i8255_offset));
918 s->type = COMEDI_SUBD_UNUSED;
921 s = dev->subdevices + 5;
923 if (thisboard->i8254_offset != 0) {
924 s->type = COMEDI_SUBD_COUNTER;
925 s->subdev_flags = SDF_WRITABLE | SDF_READABLE;
928 s->insn_read = das08_counter_read;
929 s->insn_write = das08_counter_write;
930 s->insn_config = das08_counter_config;
931 /* Set-up the 8254 structure */
932 devpriv->i8254.channels = 3;
933 devpriv->i8254.logic2phys[0] = 0;
934 devpriv->i8254.logic2phys[1] = 1;
935 devpriv->i8254.logic2phys[2] = 2;
936 devpriv->i8254.iobase = iobase + thisboard->i8254_offset;
937 devpriv->i8254.mode[0] =
938 devpriv->i8254.mode[1] =
939 devpriv->i8254.mode[2] = I8254_MODE0 | I8254_BINARY;
940 i8254_initialize(&devpriv->i8254);
942 s->type = COMEDI_SUBD_UNUSED;
948 static int das08_attach(comedi_device * dev, comedi_devconfig * it)
951 unsigned long iobase, pci_iobase = 0;
952 struct pci_dev *pdev;
954 if ((ret = alloc_private(dev, sizeof(struct das08_private_struct))) < 0)
957 printk("comedi%d: das08: ", dev->minor);
958 // deal with a pci board
959 if (thisboard->bustype == pci) {
960 if (it->options[0] || it->options[1]) {
961 printk("bus %i slot %i ",
962 it->options[0], it->options[1]);
966 for (pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL);
968 pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) {
969 if (pdev->vendor == PCI_VENDOR_ID_COMPUTERBOARDS
970 && pdev->device == PCI_DEVICE_ID_PCIDAS08) {
971 if (it->options[0] || it->options[1]) {
972 if (pdev->bus->number == it->options[0]
973 && PCI_SLOT(pdev->devfn) ==
983 printk("No pci das08 cards found\n");
986 devpriv->pdev = pdev;
987 // enable PCI device and reserve I/O spaces
988 if (comedi_pci_enable(pdev, "das08")) {
989 printk(" Error enabling PCI device and requesting regions\n");
992 // read base addresses
993 pci_iobase = pci_resource_start(pdev, 1);
994 iobase = pci_resource_start(pdev, 2);
995 printk("pcibase 0x%lx iobase 0x%lx\n", pci_iobase, iobase);
996 devpriv->pci_iobase = pci_iobase;
998 /* We could enable to pci-das08's interrupt here to make it possible
999 * to do timed input in this driver, but there is little point since
1000 * conversions would have to be started by the interrupt handler
1001 * so you might as well use comedi_rt_timer to emulate commands
1003 /* set source of interrupt trigger to counter2 output */
1004 outb(CNTRL_INTR | CNTRL_DIR, pci_iobase + CNTRL);
1005 /* Enable local interrupt 1 and pci interrupt */
1006 outw(INTR1_ENABLE | PCI_INTR_ENABLE, pci_iobase + INTCSR);
1009 iobase = it->options[0];
1013 return das08_common_attach(dev, iobase);
1016 int das08_common_detach(comedi_device * dev)
1018 printk(KERN_INFO "comedi%d: das08: remove\n", dev->minor);
1020 if (dev->subdevices)
1021 subdev_8255_cleanup(dev, dev->subdevices + 4);
1023 // deallocate ioports for non-pcmcia, non-pci boards
1024 if ((thisboard->bustype != pcmcia) && (thisboard->bustype != pci)) {
1026 release_region(dev->iobase, thisboard->iosize);
1030 if (devpriv->pdev) {
1031 if (devpriv->pci_iobase) {
1032 comedi_pci_disable(devpriv->pdev);
1034 pci_dev_put(devpriv->pdev);
1041 COMEDI_INITCLEANUP(driver_das08);
1043 EXPORT_SYMBOL_GPL(das08_common_attach);
1044 EXPORT_SYMBOL_GPL(das08_common_detach);
1045 EXPORT_SYMBOL_GPL(das08_cs_boards);