#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial.h>
#include <linux/kfifo.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <asm/unaligned.h>
#include "cypress_m8.h"
Go to the source code of this file.
|
| MODULE_DEVICE_TABLE (usb, id_table_combined) |
|
| module_usb_serial_driver (serial_drivers, id_table_combined) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_VERSION (DRIVER_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (stats, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (stats,"Enable statistics or not") |
|
| module_param (interval, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (interval,"Overrides interrupt interval") |
|
| module_param (unstable_bauds, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (unstable_bauds,"Allow unstable baud rates") |
|
#define CYPRESS_BUF_SIZE 1024 |
#define DRIVER_DESC "Cypress USB to Serial Driver" |
#define DRIVER_VERSION "v1.10" |
- Enumerator:
packet_format_1 |
|
packet_format_2 |
|
Definition at line 91 of file cypress_m8.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table_combined |
|
|
) |
| |
module_param |
( |
unstable_bauds |
, |
|
|
bool |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
stats |
, |
|
|
"Enable statistics or not" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
unstable_bauds |
, |
|
|
"Allow unstable baud rates" |
|
|
) |
| |
module_usb_serial_driver |
( |
serial_drivers |
, |
|
|
id_table_combined |
|
|
) |
| |