staging: ipack: Documentation cleanups.
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
052c4cfc92
commit
26c295cb4b
@@ -6,11 +6,14 @@ menuconfig IPACK_BUS
|
|||||||
tristate "IndustryPack bus support"
|
tristate "IndustryPack bus support"
|
||||||
depends on HAS_IOMEM
|
depends on HAS_IOMEM
|
||||||
---help---
|
---help---
|
||||||
If you say Y here you get support for the IndustryPack Framework
|
This option provides support for the IndustryPack framework. There
|
||||||
for drivers for many types of boards that support this industrial
|
are IndustryPack carrier boards, which interface another bus (such as
|
||||||
bus. The IndustryPack Framework is a virtual bus allowing to
|
PCI) to an IndustryPack bus, and IndustryPack modules, that are
|
||||||
communicate between carrier and mezzanine cards connected through
|
hosted on these buses. While IndustryPack modules can provide a
|
||||||
this bus.
|
large variety of functionality, they are most often found in
|
||||||
|
industrial control applications.
|
||||||
|
|
||||||
|
Say N if unsure.
|
||||||
|
|
||||||
if IPACK_BUS
|
if IPACK_BUS
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
config BOARD_TPCI200
|
config BOARD_TPCI200
|
||||||
tristate "TEWS TPCI-200 support for IndustryPack bus"
|
tristate "Support for the TEWS TPCI-200 IndustryPack carrier board"
|
||||||
depends on IPACK_BUS
|
depends on IPACK_BUS
|
||||||
depends on PCI
|
depends on PCI
|
||||||
help
|
help
|
||||||
This driver supports the TEWS TPCI200 device for the IndustryPack bus.
|
This driver adds support for the TEWS TPCI200 IndustryPack carrier board.
|
||||||
default n
|
default n
|
||||||
|
@@ -80,10 +80,11 @@ struct ipack_device {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct ipack_driver_ops -- callbacks to mezzanine driver for installing/removing one device
|
* struct ipack_driver_ops -- Callbacks to IPack device driver
|
||||||
*
|
*
|
||||||
* @probe: Probe function
|
* @probe: Probe function
|
||||||
* @remove: tell the driver that the carrier board wants to remove one device
|
* @remove: Prepare imminent removal of the device. Services provided by the
|
||||||
|
* device should be revoked.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct ipack_driver_ops {
|
struct ipack_driver_ops {
|
||||||
@@ -92,10 +93,10 @@ struct ipack_driver_ops {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct ipack_driver -- Specific data to each ipack board driver
|
* struct ipack_driver -- Specific data to each ipack device driver
|
||||||
*
|
*
|
||||||
* @driver: Device driver kernel representation
|
* @driver: Device driver kernel representation
|
||||||
* @ops: Mezzanine driver operations specific for the ipack bus.
|
* @ops: Callbacks provided by the IPack device driver
|
||||||
*/
|
*/
|
||||||
struct ipack_driver {
|
struct ipack_driver {
|
||||||
struct device_driver driver;
|
struct device_driver driver;
|
||||||
@@ -165,7 +166,7 @@ struct ipack_bus_device *ipack_bus_register(struct device *parent, int slots,
|
|||||||
int ipack_bus_unregister(struct ipack_bus_device *bus);
|
int ipack_bus_unregister(struct ipack_bus_device *bus);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ipack_driver_register -- Register a new driver
|
* ipack_driver_register -- Register a new ipack device driver
|
||||||
*
|
*
|
||||||
* Called by a ipack driver to register itself as a driver
|
* Called by a ipack driver to register itself as a driver
|
||||||
* that can manage ipack devices.
|
* that can manage ipack devices.
|
||||||
|
Reference in New Issue
Block a user