Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
applicom.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/mutex.h>
#include <linux/miscdevice.h>
#include <linux/pci.h>
#include <linux/wait.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "applicom.h"

Go to the source code of this file.

Data Structures

struct  applicom_board
 

Macros

#define MAX_BOARD   8 /* maximum of pc board possible */
 
#define MAX_ISA_BOARD   4
 
#define LEN_RAM_IO   0x800
 
#define AC_MINOR   157
 
#define PCI_VENDOR_ID_APPLICOM   0x1389
 
#define PCI_DEVICE_ID_APPLICOM_PCIGENERIC   0x0001
 
#define PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN   0x0002
 
#define PCI_DEVICE_ID_APPLICOM_PCI2000PFB   0x0003
 

Functions

 MODULE_DEVICE_TABLE (pci, applicom_pci_tbl)
 
 MODULE_AUTHOR ("David Woodhouse & Applicom International")
 
 MODULE_DESCRIPTION ("Driver for Applicom Profibus card")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (AC_MINOR)
 
 MODULE_SUPPORTED_DEVICE ("ac")
 
 module_param (irq, uint, 0)
 
 MODULE_PARM_DESC (irq,"IRQ of the Applicom board")
 
 module_param (mem, ulong, 0)
 
 MODULE_PARM_DESC (mem,"Shared Memory Address of Applicom board")
 
 module_init (applicom_init)
 
 module_exit (applicom_exit)
 

Macro Definition Documentation

#define AC_MINOR   157

Definition at line 54 of file applicom.c.

#define LEN_RAM_IO   0x800

Definition at line 53 of file applicom.c.

#define MAX_BOARD   8 /* maximum of pc board possible */

Definition at line 51 of file applicom.c.

#define MAX_ISA_BOARD   4

Definition at line 52 of file applicom.c.

#define PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN   0x0002

Definition at line 59 of file applicom.c.

#define PCI_DEVICE_ID_APPLICOM_PCI2000PFB   0x0003

Definition at line 60 of file applicom.c.

#define PCI_DEVICE_ID_APPLICOM_PCIGENERIC   0x0001

Definition at line 58 of file applicom.c.

#define PCI_VENDOR_ID_APPLICOM   0x1389

Definition at line 57 of file applicom.c.

Function Documentation

MODULE_ALIAS_MISCDEV ( AC_MINOR  )
MODULE_AUTHOR ( "David Woodhouse & Applicom International"  )
MODULE_DESCRIPTION ( "Driver for Applicom Profibus card )
MODULE_DEVICE_TABLE ( pci  ,
applicom_pci_tbl   
)
module_exit ( applicom_exit  )
module_init ( applicom_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( irq  ,
uint  ,
 
)
module_param ( mem  ,
ulong  ,
 
)
MODULE_PARM_DESC ( irq  ,
"IRQ of the Applicom board  
)
MODULE_PARM_DESC ( mem  ,
"Shared Memory Address of Applicom board  
)
MODULE_SUPPORTED_DEVICE ( "ac"  )