#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <pcmcia/ss.h>
#include <mach/hardware.h>
#include <asm/io.h>
#include <asm/sizes.h>
#include <mach/mux.h>
#include <plat/tc.h>
Go to the source code of this file.
| #define CF_BASE 0xfffe2800 |
| #define CF_CONTROL (CF_BASE + 0x04) |
| #define CF_CONTROL_RESET (1 << 0) |
| #define CF_STATUS_BAD_READ (1 << 2) |
| #define CF_STATUS_BAD_WRITE (1 << 1) |
| #define CF_STATUS_CARD_DETECT (1 << 0) |
| #define POLL_INTERVAL (2 * HZ) |
| MODULE_ALIAS |
( |
"platform:omap_cf" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"OMAP CF Driver" |
| ) |
|
| module_exit |
( |
omap_cf_exit |
| ) |
|
| module_init |
( |
omap_cf_init |
| ) |
|