Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20f2ff88 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman
Browse files

staging: comedi: 8255.c: reformat comedi driver comment



Use the usual block comment style.

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 b40369d6
Loading
Loading
Loading
Loading
+30 −31
Original line number Original line Diff line number Diff line
@@ -17,36 +17,35 @@
 */
 */


/*
/*
Driver: 8255
 * Driver: 8255
Description: generic 8255 support
 * Description: generic 8255 support
Devices: [standard] 8255 (8255)
 * Devices: [standard] 8255 (8255)
Author: ds
 * Author: ds
Status: works
 * Status: works
Updated: Fri,  7 Jun 2002 12:56:45 -0700
 * Updated: Fri,  7 Jun 2002 12:56:45 -0700

 *
The classic in digital I/O.  The 8255 appears in Comedi as a single
 * The classic in digital I/O.  The 8255 appears in Comedi as a single
digital I/O subdevice with 24 channels.  The channel 0 corresponds
 * digital I/O subdevice with 24 channels.  The channel 0 corresponds
to the 8255's port A, bit 0; channel 23 corresponds to port C, bit
 * to the 8255's port A, bit 0; channel 23 corresponds to port C, bit
7.  Direction configuration is done in blocks, with channels 0-7,
 * 7.  Direction configuration is done in blocks, with channels 0-7,
8-15, 16-19, and 20-23 making up the 4 blocks.  The only 8255 mode
 * 8-15, 16-19, and 20-23 making up the 4 blocks.  The only 8255 mode
supported is mode 0.
 * supported is mode 0.

 *
You should enable compilation this driver if you plan to use a board
 * You should enable compilation this driver if you plan to use a board
that has an 8255 chip.  For multifunction boards, the main driver will
 * that has an 8255 chip.  For multifunction boards, the main driver will
configure the 8255 subdevice automatically.
 * configure the 8255 subdevice automatically.

 *
This driver also works independently with ISA and PCI cards that
 * This driver also works independently with ISA and PCI cards that
directly map the 8255 registers to I/O ports, including cards with
 * directly map the 8255 registers to I/O ports, including cards with
multiple 8255 chips.  To configure the driver for such a card, the
 * multiple 8255 chips.  To configure the driver for such a card, the
option list should be a list of the I/O port bases for each of the
 * option list should be a list of the I/O port bases for each of the
8255 chips.  For example,
 * 8255 chips.  For example,

 *
  comedi_config /dev/comedi0 8255 0x200,0x204,0x208,0x20c
 *   comedi_config /dev/comedi0 8255 0x200,0x204,0x208,0x20c

 *
Note that most PCI 8255 boards do NOT work with this driver, and
 * Note that most PCI 8255 boards do NOT work with this driver, and
need a separate driver as a wrapper.  For those that do work, the
 * need a separate driver as a wrapper.  For those that do work, the
I/O port base address can be found in the output of 'lspci -v'.
 * I/O port base address can be found in the output of 'lspci -v'.

 */
 */


/*
/*