Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ali-ircc.c File Reference
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/rtnetlink.h>
#include <linux/serial_reg.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/byteorder.h>
#include <net/irda/wrapper.h>
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
#include "ali-ircc.h"

Go to the source code of this file.

Macros

#define CHIP_IO_EXTENT   8
 
#define BROKEN_DONGLE_ID
 
#define ALI_IRCC_DRIVER_NAME   "ali-ircc"
 

Functions

 MODULE_AUTHOR ("Benjamin Kong <[email protected]>")
 
 MODULE_DESCRIPTION ("ALi FIR Controller Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:"ALI_IRCC_DRIVER_NAME)
 
 module_param_array (io, int, NULL, 0)
 
 MODULE_PARM_DESC (io,"Base I/O addresses")
 
 module_param_array (irq, int, NULL, 0)
 
 MODULE_PARM_DESC (irq,"IRQ lines")
 
 module_param_array (dma, int, NULL, 0)
 
 MODULE_PARM_DESC (dma,"DMA channels")
 
 module_init (ali_ircc_init)
 
 module_exit (ali_ircc_cleanup)
 

Macro Definition Documentation

#define ALI_IRCC_DRIVER_NAME   "ali-ircc"

Definition at line 53 of file ali-ircc.c.

#define BROKEN_DONGLE_ID

Definition at line 51 of file ali-ircc.c.

#define CHIP_IO_EXTENT   8

Definition at line 50 of file ali-ircc.c.

Function Documentation

MODULE_ALIAS ( "platform:"  ALI_IRCC_DRIVER_NAME)
MODULE_AUTHOR ( "Benjamin Kong <[email protected]>"  )
MODULE_DESCRIPTION ( "ALi FIR Controller Driver"  )
module_exit ( ali_ircc_cleanup  )
module_init ( ali_ircc_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array ( io  ,
int  ,
NULL  ,
 
)
module_param_array ( irq  ,
int  ,
NULL  ,
 
)
module_param_array ( dma  ,
int  ,
NULL  ,
 
)
MODULE_PARM_DESC ( io  ,
"Base I/O addresses"   
)
MODULE_PARM_DESC ( irq  ,
"IRQ lines"   
)
MODULE_PARM_DESC ( dma  ,
"DMA channels  
)