RTXI 1.3
comedi/comedi/drivers/addi-data/addi_common.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/timer.h>
#include <linux/pci.h>
#include <linux/comedidev.h>
#include <asm/io.h>
#include "../comedi_fc.h"
#include "addi_common.h"
#include "addi_amcc_s5933.h"
#include "addi_eeprom.c"
#include "hwdrv_apci035.c"

Go to the source code of this file.

Defines

#define devpriv   ((addi_private *)dev->private)
#define this_board   ((boardtype *)dev->board_ptr)
#define COMEDI_SUBD_TTLIO   11
#define n_boardtypes   (sizeof(boardtypes)/sizeof(boardtype))

Functions

 MODULE_DEVICE_TABLE (pci, addi_apci_tbl)
 COMEDI_PCI_INITCLEANUP (driver_addi, addi_apci_tbl)

Variables

comedi_driver driver_addi

Define Documentation

#define COMEDI_SUBD_TTLIO   11

Definition at line 139 of file addi_common.c.

#define devpriv   ((addi_private *)dev->private)

Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code of this module.

        ADDI-DATA GmbH
        Dieselstrasse 3
        D-77833 Ottersweier
        Tel: +19(0)7223/9493-0
        Fax: +49(0)7223/9493-92
        http://www.addi-data-com
        info@addi-data.com

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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

You shoud also find the complete GPL in the COPYING file accompanying this source code.

Definition at line 75 of file addi_common.c.

#define n_boardtypes   (sizeof(boardtypes)/sizeof(boardtype))

Definition at line 2528 of file addi_common.c.

#define this_board   ((boardtype *)dev->board_ptr)

Definition at line 76 of file addi_common.c.


Function Documentation

COMEDI_PCI_INITCLEANUP ( driver_addi  ,
addi_apci_tbl   
)
MODULE_DEVICE_TABLE ( pci  ,
addi_apci_tbl   
)

Variable Documentation

Initial value:
 {
      driver_name:"addi_common",
      module:THIS_MODULE,
      attach:i_ADDI_Attach,
      detach:i_ADDI_Detach,
      num_names:n_boardtypes,
      board_name:&boardtypes[0].pc_DriverName,
      offset:sizeof(boardtype),
}

Definition at line 2530 of file addi_common.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines