Commit 9949595c authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: drivers/*.c: fix common misspellings

Fix these common misspellings:
  s/dependancy/dependency
  s/occured/occurred
  s/informations/information
  s/intialize/initialize
  s/serveral/several
  s/interrups/interrupts
  s/acknowledgement/acknowledgment
  s/suppport/support
  s/writting/writing
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 857ced45
...@@ -178,7 +178,7 @@ static const struct pci_8255_boardinfo pci_8255_boards[] = { ...@@ -178,7 +178,7 @@ static const struct pci_8255_boardinfo pci_8255_boards[] = {
}, },
}; };
/* ripped from mite.h and mite_setup2() to avoid mite dependancy */ /* ripped from mite.h and mite_setup2() to avoid mite dependency */
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */ #define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
#define WENAB (1 << 7) /* window enable */ #define WENAB (1 << 7) /* window enable */
......
...@@ -249,8 +249,8 @@ static irqreturn_t apci1500_interrupt(int irq, void *d) ...@@ -249,8 +249,8 @@ static irqreturn_t apci1500_interrupt(int irq, void *d)
* *
* Mask Meaning * Mask Meaning
* ---------- ------------------------------------------ * ---------- ------------------------------------------
* 0x00000001 Event 1 has occured * 0x00000001 Event 1 has occurred
* 0x00000010 Event 2 has occured * 0x00000010 Event 2 has occurred
* 0x00000100 Counter/timer 1 has run down (not implemented) * 0x00000100 Counter/timer 1 has run down (not implemented)
* 0x00001000 Counter/timer 2 has run down (not implemented) * 0x00001000 Counter/timer 2 has run down (not implemented)
* 0x00010000 Counter 3 has run down (not implemented) * 0x00010000 Counter 3 has run down (not implemented)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Author: Michal Dobes <dobes@tesnet.cz> * Author: Michal Dobes <dobes@tesnet.cz>
* *
* Thanks to ZhenGang Shang <ZhenGang.Shang@Advantech.com.cn> * Thanks to ZhenGang Shang <ZhenGang.Shang@Advantech.com.cn>
* for testing and informations. * for testing and information.
* *
* hardware driver for Advantech cards: * hardware driver for Advantech cards:
* card: PCI-1710, PCI-1710HG, PCI-1711, PCI-1713, PCI-1720, PCI-1731 * card: PCI-1710, PCI-1710HG, PCI-1711, PCI-1713, PCI-1720, PCI-1731
......
...@@ -408,7 +408,7 @@ int das08_common_attach(struct comedi_device *dev, unsigned long iobase) ...@@ -408,7 +408,7 @@ int das08_common_attach(struct comedi_device *dev, unsigned long iobase)
if (ret) if (ret)
return ret; return ret;
/* intialize all channels to 0V */ /* initialize all channels to 0V */
for (i = 0; i < s->n_chan; i++) { for (i = 0; i < s->n_chan; i++) {
s->readback[i] = s->maxdata / 2; s->readback[i] = s->maxdata / 2;
das08_ao_set_data(dev, i, s->readback[i]); das08_ao_set_data(dev, i, s->readback[i]);
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* This driver is for the Diamond Systems MM-32-AT board * This driver is for the Diamond Systems MM-32-AT board
* http://www.diamondsystems.com/products/diamondmm32at * http://www.diamondsystems.com/products/diamondmm32at
* *
* It is being used on serveral projects inside NASA, without * It is being used on several projects inside NASA, without
* problems so far. For analog input commands, TRIG_EXT is not * problems so far. For analog input commands, TRIG_EXT is not
* yet supported. * yet supported.
*/ */
...@@ -391,7 +391,7 @@ static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) ...@@ -391,7 +391,7 @@ static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
/* start the clock and enable the interrupts */ /* start the clock and enable the interrupts */
dmm32at_setaitimer(dev, cmd->scan_begin_arg); dmm32at_setaitimer(dev, cmd->scan_begin_arg);
} else { } else {
/* start the interrups and initiate a single scan */ /* start the interrupts and initiate a single scan */
outb(DMM32AT_INTCLK_ADINT, dev->iobase + DMM32AT_INTCLK_REG); outb(DMM32AT_INTCLK_ADINT, dev->iobase + DMM32AT_INTCLK_REG);
outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG); outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG);
} }
......
...@@ -613,7 +613,7 @@ static int ni_65xx_intr_insn_config(struct comedi_device *dev, ...@@ -613,7 +613,7 @@ static int ni_65xx_intr_insn_config(struct comedi_device *dev,
return insn->n; return insn->n;
} }
/* ripped from mite.h and mite_setup2() to avoid mite dependancy */ /* ripped from mite.h and mite_setup2() to avoid mite dependency */
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */ #define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
#define WENAB (1 << 7) /* window enable */ #define WENAB (1 << 7) /* window enable */
......
...@@ -146,7 +146,7 @@ static int ni_670x_dio_insn_config(struct comedi_device *dev, ...@@ -146,7 +146,7 @@ static int ni_670x_dio_insn_config(struct comedi_device *dev,
return insn->n; return insn->n;
} }
/* ripped from mite.h and mite_setup2() to avoid mite dependancy */ /* ripped from mite.h and mite_setup2() to avoid mite dependency */
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */ #define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
#define WENAB (1 << 7) /* window enable */ #define WENAB (1 << 7) /* window enable */
......
...@@ -51,7 +51,7 @@ static const struct labpc_boardinfo labpc_pci_boards[] = { ...@@ -51,7 +51,7 @@ static const struct labpc_boardinfo labpc_pci_boards[] = {
}, },
}; };
/* ripped from mite.h and mite_setup2() to avoid mite dependancy */ /* ripped from mite.h and mite_setup2() to avoid mite dependency */
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */ #define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
#define WENAB (1 << 7) /* window enable */ #define WENAB (1 << 7) /* window enable */
......
...@@ -366,7 +366,7 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, ...@@ -366,7 +366,7 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter,
if (gxx_status & GI_GATE_ERROR(cidx)) { if (gxx_status & GI_GATE_ERROR(cidx)) {
ack |= GI_GATE_ERROR_CONFIRM(cidx); ack |= GI_GATE_ERROR_CONFIRM(cidx);
if (gate_error) { if (gate_error) {
/*660x don't support automatic acknowledgement /*660x don't support automatic acknowledgment
of gate interrupt via dma read/write of gate interrupt via dma read/write
and report bogus gate errors */ and report bogus gate errors */
if (counter->counter_dev->variant != if (counter->counter_dev->variant !=
......
...@@ -588,7 +588,7 @@ static int pcmuio_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -588,7 +588,7 @@ static int pcmuio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->insn_bits = pcmuio_dio_insn_bits; s->insn_bits = pcmuio_dio_insn_bits;
s->insn_config = pcmuio_dio_insn_config; s->insn_config = pcmuio_dio_insn_config;
/* subdevices 0 and 2 can suppport interrupts */ /* subdevices 0 and 2 can support interrupts */
if ((i == 0 && dev->irq) || (i == 2 && devpriv->irq2)) { if ((i == 0 && dev->irq) || (i == 2 && devpriv->irq2)) {
/* setup the interrupt subdevice */ /* setup the interrupt subdevice */
dev->read_subdev = s; dev->read_subdev = s;
......
...@@ -266,7 +266,7 @@ static int __unioxx5_analog_write(struct comedi_subdevice *s, ...@@ -266,7 +266,7 @@ static int __unioxx5_analog_write(struct comedi_subdevice *s,
/* sending for bytes to module(one byte per cycle iteration) */ /* sending for bytes to module(one byte per cycle iteration) */
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
while (!((inb(usp->usp_iobase + 0)) & TxBE)) while (!((inb(usp->usp_iobase + 0)) & TxBE))
; /* waits while writting will be allowed */ ; /* waits while writing will be allowed */
outb(usp->usp_extra_data[module][i], usp->usp_iobase + 6); outb(usp->usp_extra_data[module][i], usp->usp_iobase + 6);
} }
...@@ -399,7 +399,7 @@ static int __unioxx5_subdev_init(struct comedi_device *dev, ...@@ -399,7 +399,7 @@ static int __unioxx5_subdev_init(struct comedi_device *dev,
outb(i + 1, iobase + 5); outb(i + 1, iobase + 5);
outb('H', iobase + 6); /* requests EEPROM world */ outb('H', iobase + 6); /* requests EEPROM world */
while (!(inb(iobase + 0) & TxBE)) while (!(inb(iobase + 0) & TxBE))
; /* waits while writting will be allowed */ ; /* waits while writing will be allowed */
outb(0, iobase + 6); outb(0, iobase + 6);
/* waits while reading of two bytes will be allowed */ /* waits while reading of two bytes will be allowed */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment