#include <linux/kernel.h>
#include <linux/jiffies.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/spinlock.h>
#include <linux/mutex.h>
#include <linux/serial.h>
#include <linux/kfifo.h>
#include <linux/ioctl.h>
#include <linux/firmware.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include "io_16654.h"
#include "io_usbvend.h"
#include "io_ti.h"
Go to the source code of this file.
|
struct product_info | __attribute__ ((packed)) |
|
| 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_LICENSE ("GPL") |
|
| MODULE_FIRMWARE ("edgeport/down3.bin") |
|
| module_param (closing_wait, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (closing_wait,"Maximum wait for data to drain, in .01 secs") |
|
| module_param (ignore_cpu_rev, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (ignore_cpu_rev,"Ignore the cpu revision when connecting to a device") |
|
| module_param (default_uart_mode, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (default_uart_mode,"Default uart_mode, 0=RS232, ...") |
|
#define DRIVER_DESC "Edgeport USB Serial Driver" |
#define DRIVER_VERSION "v0.7mode043006" |
#define EDGE_CLOSING_WAIT 4000 /* in .01 sec */ |
#define EDGE_OUT_BUF_SIZE 1024 |
#define EDGE_READ_URB_RUNNING 0 |
#define EDGE_READ_URB_STOPPED 2 |
#define EDGE_READ_URB_STOPPING 1 |
#define EPROM_PAGE_SIZE 64 |
#define HARDWARE_TYPE_930 0 |
#define HARDWARE_TYPE_TIUMP 1 |
#define MAP_FLAG |
( |
|
flagUmp, |
|
|
|
flagUart |
|
) |
| |
Value:if (ti_lsr & flagUmp) \
lsr |= flagUart;
#define TI_MODE_BOOT 1 /* Staying in boot mode */ |
#define TI_MODE_TRANSITIONING |
Value:
Definition at line 61 of file io_ti.c.
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
id_table_combined |
|
|
) |
| |
MODULE_FIRMWARE |
( |
"edgeport/down3.bin" |
| ) |
|
module_param |
( |
closing_wait |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
ignore_cpu_rev |
, |
|
|
bool |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
default_uart_mode |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
closing_wait |
, |
|
|
"Maximum wait for data to |
drain, |
|
|
in.01 secs" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
default_uart_mode |
, |
|
|
"Default |
uart_mode, |
|
|
0 |
= RS232 , |
|
|
..." |
|
|
) |
| |
module_usb_serial_driver |
( |
serial_drivers |
, |
|
|
id_table_combined |
|
|
) |
| |