#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kref.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand_ecc.h>
Go to the source code of this file.
#define ALAUDA_ACK_XD_MEDIA_CHANGE 0x0a |
#define ALAUDA_BULK_CMD 0x40 |
#define ALAUDA_BULK_ERASE_BLOCK 0xa3 |
#define ALAUDA_BULK_READ_BLOCK 0x94 |
#define ALAUDA_BULK_READ_OOB 0x85 /* don't use, there's a chip bug */ |
#define ALAUDA_BULK_READ_PAGE 0x84 |
#define ALAUDA_BULK_RESET_MEDIA 0xe0 |
#define ALAUDA_BULK_WRITE_BLOCK 0xb4 |
#define ALAUDA_BULK_WRITE_PAGE 0xa4 |
#define ALAUDA_GET_XD_MEDIA_SIG 0x86 |
#define ALAUDA_GET_XD_MEDIA_STATUS 0x08 |
#define ALAUDA_PORT_SM 0x01 |
#define ALAUDA_PORT_XD 0x00 |
#define PBA_HI |
( |
|
pba | ) |
(pba >> 3) |
#define PBA_LO |
( |
|
pba | ) |
((pba & 0xF) << 5) |
#define PBA_ZONE |
( |
|
pba | ) |
(pba >> 11) |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
alauda_table |
|
|
) |
| |
module_usb_driver |
( |
alauda_driver |
| ) |
|