#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/kmemcheck.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/idr.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/c2port.h>
Go to the source code of this file.
#define C2PORT_BLOCK_READ 0x06 |
#define C2PORT_BLOCK_WRITE 0x07 |
#define C2PORT_COMMAND_FAILED 0x02 |
#define C2PORT_COMMAND_OK 0x0d |
#define C2PORT_DEVICE_ERASE 0x03 |
#define C2PORT_DEVICEID 0x00 |
#define C2PORT_FPCTL 0x02 |
#define C2PORT_FPDAT 0xB4 |
#define C2PORT_GET_VERSION 0x01 |
#define C2PORT_INVALID_COMMAND 0x00 |
#define C2PORT_PAGE_ERASE 0x08 |
#define C2PORT_REVID 0x01 |
#define DRIVER_NAME "c2port" |
#define DRIVER_VERSION "0.51.0" |
MODULE_DESCRIPTION |
( |
"Silicon Labs C2 port support v. " |
DRIVER_VERSION | ) |
|
module_exit |
( |
c2port_exit |
| ) |
|
module_init |
( |
c2port_init |
| ) |
|