diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-02 21:29:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:35 -0700 |
commit | a8fcffbde4cedf319f7009cec21baddf9422685e (patch) | |
tree | 844273a59ce2ab7b1a3ad0280eeaa73c4b64e9a0 /drivers/staging/meilhaus/me8255.h | |
parent | 06bf27ddaae4deb796ec90a11c5ecefd7364e3ed (diff) |
Staging: meilhaus: remove the drivers
The comedi drivers should be used instead, no need to have
these in here as well.
Cc: David Kiliani <mail@davidkiliani.de>
Cc: Meilhaus Support <support@meilhaus.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/meilhaus/me8255.h')
-rw-r--r-- | drivers/staging/meilhaus/me8255.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/drivers/staging/meilhaus/me8255.h b/drivers/staging/meilhaus/me8255.h deleted file mode 100644 index 338230052b3..00000000000 --- a/drivers/staging/meilhaus/me8255.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @file me8255.h - * - * @brief Meilhaus PIO 8255 implementation. - * @note Copyright (C) 2006 Meilhaus Electronic GmbH (support@meilhaus.de) - * @author Guenter Gebhardt - */ - -#ifndef _ME8255_H_ -#define _ME8255_H_ - -#include "mesubdevice.h" -#include "meslock.h" - -#ifdef __KERNEL__ - -/** - * @brief The 8255 subdevice class. - */ -typedef struct me8255_subdevice { - /* Inheritance */ - me_subdevice_t base; /**< The subdevice base class. */ - - /* Attributes */ - spinlock_t subdevice_lock; /**< Spin lock to protect the subdevice from concurrent access. */ - - int *ctrl_reg_mirror; /**< Pointer to mirror of the control register. */ - spinlock_t *ctrl_reg_lock; /**< Spin lock to protect #ctrl_reg and #ctrl_reg_mirror from concurrent access. */ - - uint32_t device_id; /**< The PCI device id of the device holding the 8255 chip. */ - int me8255_idx; /**< The index of the 8255 chip on the device. */ - int dio_idx; /**< The index of the DIO port on the 8255 chip. */ - - unsigned long port_reg; /**< Register to read or write a value from or to the port respectively. */ - unsigned long ctrl_reg; /**< Register to configure the 8255 modes. */ -} me8255_subdevice_t; - -/** - * @brief The constructor to generate a 8255 instance. - * - * @param device_id The kind of Meilhaus device holding the 8255. - * @param reg_base The register base address of the device as returned by the PCI BIOS. - * @param me8255_idx The index of the 8255 chip on the Meilhaus device. - * @param dio_idx The index of the counter inside a 8255 chip. - * @param ctr_reg_mirror Pointer to mirror of control register. - * @param ctrl_reg_lock Pointer to spin lock protecting the 8255 control register and #ctrl_reg_mirror from concurrent access. - * - * @return Pointer to new instance on success.\n - * NULL on error. - */ -me8255_subdevice_t *me8255_constructor(uint32_t device_id, - uint32_t reg_base, - unsigned int me8255_idx, - unsigned int dio_idx, - int *ctrl_reg_mirror, - spinlock_t * ctrl_reg_lock); - -#endif -#endif |