Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
i2c-parport-light.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-smbus.h>
#include <linux/io.h>
#include "i2c-parport.h"

Go to the source code of this file.

Macros

#define DEFAULT_BASE   0x378
 
#define DRVNAME   "i2c-parport-light"
 

Functions

 module_param (base, ushort, 0)
 
 MODULE_PARM_DESC (base,"Base I/O address")
 
 module_param (irq, int, 0)
 
 MODULE_PARM_DESC (irq,"IRQ (optional)")
 
 MODULE_AUTHOR ("Jean Delvare <[email protected]>")
 
 MODULE_DESCRIPTION ("I2C bus over parallel port (light)")
 
 MODULE_LICENSE ("GPL")
 
 module_init (i2c_parport_init)
 
 module_exit (i2c_parport_exit)
 

Macro Definition Documentation

#define DEFAULT_BASE   0x378

Definition at line 39 of file i2c-parport-light.c.

#define DRVNAME   "i2c-parport-light"

Definition at line 40 of file i2c-parport-light.c.

Function Documentation

MODULE_AUTHOR ( "Jean Delvare <[email protected]>"  )
MODULE_DESCRIPTION ( "I2C bus over parallel port (light)"  )
module_exit ( i2c_parport_exit  )
module_init ( i2c_parport_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( base  ,
ushort  ,
 
)
module_param ( irq  ,
int  ,
 
)
MODULE_PARM_DESC ( base  ,
"Base I/O address  
)
MODULE_PARM_DESC ( irq  ,
"IRQ (optional)"   
)