#include <linux/module.h>
#include "f_fs.c"
Go to the source code of this file.
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_AUTHOR ("Michal Nazarewicz") |
|
| MODULE_LICENSE ("GPL") |
|
| USB_GADGET_COMPOSITE_OPTIONS () |
|
| module_param_named (bDeviceClass, gfs_dev_desc.bDeviceClass, byte, 0644) |
|
| MODULE_PARM_DESC (bDeviceClass,"USB Device class") |
|
| module_param_named (bDeviceSubClass, gfs_dev_desc.bDeviceSubClass, byte, 0644) |
|
| MODULE_PARM_DESC (bDeviceSubClass,"USB Device subclass") |
|
| module_param_named (bDeviceProtocol, gfs_dev_desc.bDeviceProtocol, byte, 0644) |
|
| MODULE_PARM_DESC (bDeviceProtocol,"USB Device protocol") |
|
| module_param_array_named (functions, func_names, charp,&func_num, 0) |
|
| MODULE_PARM_DESC (functions,"USB Functions list") |
|
| module_init (gfs_init) |
|
| module_exit (gfs_exit) |
|
#define DRIVER_DESC "USB Function Filesystem" |
#define DRIVER_NAME "g_ffs" |
#define DRIVER_VERSION "24 Aug 2004" |
#define gether_cleanup |
( |
|
void | ) |
do { } while (0) |
#define gether_setup |
( |
|
gadget, |
|
|
|
hostaddr |
|
) |
| ((int)0) |
#define gfs_hostaddr NULL |
#define GFS_PRODUCT_ID 0x0105 /* FunctionFS Gadget */ |
#define GFS_VENDOR_ID 0x1d6b /* Linux Foundation */ |
#define pr_fmt |
( |
|
fmt | ) |
"g_ffs: " fmt |
MODULE_AUTHOR |
( |
"Michal Nazarewicz" |
| ) |
|
module_param_array_named |
( |
functions |
, |
|
|
func_names |
, |
|
|
charp |
, |
|
|
& |
func_num, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
functions |
, |
|
|
"USB Functions list" |
|
|
) |
| |
USB_GADGET_COMPOSITE_OPTIONS |
( |
| ) |
|