#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.
|
| 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) |
|
#define ALI_IRCC_DRIVER_NAME "ali-ircc" |
MODULE_ALIAS |
( |
"platform:" |
ALI_IRCC_DRIVER_NAME | ) |
|
module_exit |
( |
ali_ircc_cleanup |
| ) |
|
module_init |
( |
ali_ircc_init |
| ) |
|
MODULE_PARM_DESC |
( |
io |
, |
|
|
"Base I/O addresses" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ lines" |
|
|
) |
| |