#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include "u_serial.h"
#include "gadget_chips.h"
#include "f_acm.c"
#include "f_obex.c"
#include "f_serial.c"
#include "u_serial.c"
Go to the source code of this file.
|
| USB_GADGET_COMPOSITE_OPTIONS () |
|
| MODULE_DESCRIPTION (GS_VERSION_NAME) |
|
| MODULE_AUTHOR ("Al Borchers") |
|
| MODULE_AUTHOR ("David Brownell") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (use_acm, bool, 0) |
|
| MODULE_PARM_DESC (use_acm,"Use CDC ACM, default=yes") |
|
| module_param (use_obex, bool, 0) |
|
| MODULE_PARM_DESC (use_obex,"Use CDC OBEX, default=no") |
|
| module_param (n_ports, uint, 0) |
|
| MODULE_PARM_DESC (n_ports,"number of ports to create, default=1") |
|
| module_init (init) |
|
| module_exit (cleanup) |
|
#define GS_CDC_OBEX_PRODUCT_ID 0xa4a9 /* ... as CDC-OBEX */ |
#define GS_CDC_PRODUCT_ID 0xa4a7 /* ... as CDC-ACM */ |
#define GS_LONG_NAME "Gadget Serial" |
#define GS_PRODUCT_ID 0xa4a6 /* Linux-USB Serial Gadget */ |
#define GS_VENDOR_ID 0x0525 /* NetChip */ |
#define GS_VERSION_NUM 0x2400 |
#define GS_VERSION_STR "v2.4" |
MODULE_AUTHOR |
( |
"Al Borchers" |
| ) |
|
MODULE_AUTHOR |
( |
"David Brownell" |
| ) |
|
module_param |
( |
use_acm |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
use_obex |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
n_ports |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
use_acm |
, |
|
|
"Use CDC |
ACM |
|
) |
| |
MODULE_PARM_DESC |
( |
use_obex |
, |
|
|
"Use CDC |
OBEX |
|
) |
| |
MODULE_PARM_DESC |
( |
n_ports |
, |
|
|
"number of ports to |
create |
|
) |
| |
USB_GADGET_COMPOSITE_OPTIONS |
( |
| ) |
|