#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/pnp.h>
#include <linux/highmem.h>
#include <linux/mmc/host.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/dma.h>
#include "wbsd.h"
Go to the source code of this file.
|
| module_init (wbsd_drv_init) |
|
| module_exit (wbsd_drv_exit) |
|
| module_param_named (io, param_io, uint, 0444) |
|
| module_param_named (irq, param_irq, uint, 0444) |
|
| module_param_named (dma, param_dma, int, 0444) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Pierre Ossman <[email protected]>") |
|
| MODULE_DESCRIPTION ("Winbond W83L51xD SD/MMC card interface driver") |
|
| MODULE_PARM_DESC (io,"I/O base to allocate. Must be 8 byte aligned. (default 0x248)") |
|
| MODULE_PARM_DESC (irq,"IRQ to allocate. (default 6)") |
|
| MODULE_PARM_DESC (dma,"DMA channel to allocate. -1 for no DMA. (default 2)") |
|
#define DRIVER_NAME "wbsd" |
#define wbsd_platform_resume NULL |
#define wbsd_platform_suspend NULL |
#define wbsd_pnp_resume NULL |
#define wbsd_pnp_suspend NULL |
module_exit |
( |
wbsd_drv_exit |
| ) |
|
module_init |
( |
wbsd_drv_init |
| ) |
|
module_param_named |
( |
io |
, |
|
|
param_io |
, |
|
|
uint |
, |
|
|
0444 |
|
|
) |
| |
module_param_named |
( |
irq |
, |
|
|
param_irq |
, |
|
|
uint |
, |
|
|
0444 |
|
|
) |
| |
module_param_named |
( |
dma |
, |
|
|
param_dma |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
io |
, |
|
|
"I/O base to allocate. Must be 8 byte aligned. (default 0x248)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ to allocate. (default 6)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dma |
, |
|
|
"DMA channel to allocate. -1 for no DMA. (default 2)" |
|
|
) |
| |