Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
phantom.c File Reference
#include <linux/compat.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/interrupt.h>
#include <linux/cdev.h>
#include <linux/slab.h>
#include <linux/phantom.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/atomic.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  phantom_device
 

Macros

#define PHANTOM_VERSION   "n0.9.8"
 
#define PHANTOM_MAX_MINORS   8
 
#define PHN_IRQCTL   0x4c /* irq control in caddr space */
 
#define PHB_RUNNING   1
 
#define PHB_NOT_OH   2
 
#define phantom_compat_ioctl   NULL
 
#define phantom_suspend   NULL
 
#define phantom_resume   NULL
 

Functions

 MODULE_DEVICE_TABLE (pci, phantom_pci_tbl)
 
 module_init (phantom_init)
 
 module_exit (phantom_exit)
 
 MODULE_AUTHOR ("Jiri Slaby <[email protected]>")
 
 MODULE_DESCRIPTION ("Sensable Phantom driver (PCI devices)")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (PHANTOM_VERSION)
 

Macro Definition Documentation

#define phantom_compat_ioctl   NULL

Definition at line 211 of file phantom.c.

#define PHANTOM_MAX_MINORS   8

Definition at line 34 of file phantom.c.

#define phantom_resume   NULL

Definition at line 487 of file phantom.c.

#define phantom_suspend   NULL

Definition at line 486 of file phantom.c.

#define PHANTOM_VERSION   "n0.9.8"

Definition at line 32 of file phantom.c.

#define PHB_NOT_OH   2

Definition at line 39 of file phantom.c.

#define PHB_RUNNING   1

Definition at line 38 of file phantom.c.

#define PHN_IRQCTL   0x4c /* irq control in caddr space */

Definition at line 36 of file phantom.c.

Function Documentation

MODULE_AUTHOR ( "Jiri Slaby <[email protected]>"  )
MODULE_DESCRIPTION ( "Sensable Phantom driver (PCI devices)"  )
MODULE_DEVICE_TABLE ( pci  ,
phantom_pci_tbl   
)
module_exit ( phantom_exit  )
module_init ( phantom_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( PHANTOM_VERSION  )