Commit f751a0d5 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: mite.h: reformat some comments

Use the usual style for block comments.  Squash double spaces after
comment opening sequences.
Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c95f212d
/* /*
module/mite.h * module/mite.h
Hardware driver for NI Mite PCI interface chip * Hardware driver for NI Mite PCI interface chip
*
COMEDI - Linux Control and Measurement Device Interface * COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 1999 David A. Schleef <ds@schleef.org> * Copyright (C) 1999 David A. Schleef <ds@schleef.org>
*
This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. * (at your option) any later version.
*
This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#ifndef _MITE_H_ #ifndef _MITE_H_
#define _MITE_H_ #define _MITE_H_
...@@ -115,9 +115,11 @@ int mite_buf_change(struct mite_dma_descriptor_ring *ring, ...@@ -115,9 +115,11 @@ int mite_buf_change(struct mite_dma_descriptor_ring *ring,
struct comedi_subdevice *s); struct comedi_subdevice *s);
enum mite_registers { enum mite_registers {
/* The bits 0x90180700 in MITE_UNKNOWN_DMA_BURST_REG can be /*
written and read back. The bits 0x1f always read as 1. * The bits 0x90180700 in MITE_UNKNOWN_DMA_BURST_REG can be
The rest always read as zero. */ * written and read back. The bits 0x1f always read as 1.
* The rest always read as zero.
*/
MITE_UNKNOWN_DMA_BURST_REG = 0x28, MITE_UNKNOWN_DMA_BURST_REG = 0x28,
MITE_IODWBSR = 0xc0, /* IO Device Window Base Size Register */ MITE_IODWBSR = 0xc0, /* IO Device Window Base Size Register */
MITE_IODWBSR_1 = 0xc4, /* IO Device Window Base Size Register 1 */ MITE_IODWBSR_1 = 0xc4, /* IO Device Window Base Size Register 1 */
...@@ -290,8 +292,7 @@ static inline int CR_REQS(int source) ...@@ -290,8 +292,7 @@ static inline int CR_REQS(int source)
static inline int CR_REQSDRQ(unsigned drq_line) static inline int CR_REQSDRQ(unsigned drq_line)
{ {
/* This also works on m-series when /* This also works on m-series when using channels (drq_line) 4 or 5. */
using channels (drq_line) 4 or 5. */
return CR_REQS((drq_line & 0x3) | 0x4); return CR_REQS((drq_line & 0x3) | 0x4);
} }
......
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