#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/sa11x0-dma.h>
#include <net/irda/irda.h>
#include <net/irda/wrapper.h>
#include <net/irda/irda_device.h>
#include <mach/hardware.h>
#include <asm/mach/irda.h>
Go to the source code of this file.
|
| module_init (sa1100_irda_init) |
|
| module_exit (sa1100_irda_exit) |
|
| module_param (power_level, int, 0) |
|
| module_param (tx_lpm, int, 0) |
|
| module_param (max_rate, int, 0) |
|
| MODULE_AUTHOR ("Russell King <[email protected]>") |
|
| MODULE_DESCRIPTION ("StrongARM SA1100 IrDA driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_PARM_DESC (power_level,"IrDA power level, 1 (low) to 3 (high)") |
|
| MODULE_PARM_DESC (tx_lpm,"Enable transmitter low power (1.6us) mode") |
|
| MODULE_PARM_DESC (max_rate,"Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)") |
|
| MODULE_ALIAS ("platform:sa11x0-ir") |
|
#define HPSIR_MAX_RXLEN 2047 |
#define IS_FIR |
( |
|
si | ) |
((si)->speed >= 4000000) |
#define sa1100_irda_resume NULL |
#define sa1100_irda_suspend NULL |
MODULE_ALIAS |
( |
"platform:sa11x0-ir" |
| ) |
|
MODULE_DESCRIPTION |
( |
"StrongARM SA1100 IrDA driver" |
| ) |
|
module_exit |
( |
sa1100_irda_exit |
| ) |
|
module_init |
( |
sa1100_irda_init |
| ) |
|
module_param |
( |
power_level |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
tx_lpm |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
max_rate |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
power_level |
, |
|
|
"IrDA power |
level, |
|
|
1(low) to 3(high)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
tx_lpm |
, |
|
|
"Enable transmitter low power (1.6us) mode" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
max_rate |
, |
|
|
"Maximum baud rate (4000000, 115200, 57600, 38400, 19200, 9600)" |
|
|
) |
| |