Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ether.c File Reference
#include <linux/kernel.h>
#include "u_ether.h"
#include "f_ecm.c"
#include "f_subset.c"
#include "f_eem.c"
#include "u_ether.c"

Go to the source code of this file.

Macros

#define DRIVER_DESC   "Ethernet Gadget"
 
#define DRIVER_VERSION   "Memorial Day 2008"
 
#define PREFIX   ""
 
#define CDC_VENDOR_NUM   0x0525 /* NetChip */
 
#define CDC_PRODUCT_NUM   0xa4a1 /* Linux-USB Ethernet Gadget */
 
#define SIMPLE_VENDOR_NUM   0x049f
 
#define SIMPLE_PRODUCT_NUM   0x505a
 
#define RNDIS_VENDOR_NUM   0x0525 /* NetChip */
 
#define RNDIS_PRODUCT_NUM   0xa4a2 /* Ethernet/RNDIS Gadget */
 
#define EEM_VENDOR_NUM   0x1d6b /* Linux Foundation */
 
#define EEM_PRODUCT_NUM   0x0102 /* EEM Gadget */
 

Functions

 USB_GADGET_COMPOSITE_OPTIONS ()
 
 module_param (use_eem, bool, 0)
 
 MODULE_PARM_DESC (use_eem,"use CDC EEM mode")
 
 MODULE_DESCRIPTION (PREFIX DRIVER_DESC)
 
 MODULE_AUTHOR ("David Brownell, Benedikt Spanger")
 
 MODULE_LICENSE ("GPL")
 
 module_init (init)
 
 module_exit (cleanup)
 

Macro Definition Documentation

#define CDC_PRODUCT_NUM   0xa4a1 /* Linux-USB Ethernet Gadget */

Definition at line 123 of file ether.c.

#define CDC_VENDOR_NUM   0x0525 /* NetChip */

Definition at line 122 of file ether.c.

#define DRIVER_DESC   "Ethernet Gadget"

Definition at line 63 of file ether.c.

#define DRIVER_VERSION   "Memorial Day 2008"

Definition at line 64 of file ether.c.

#define EEM_PRODUCT_NUM   0x0102 /* EEM Gadget */

Definition at line 149 of file ether.c.

#define EEM_VENDOR_NUM   0x1d6b /* Linux Foundation */

Definition at line 148 of file ether.c.

#define PREFIX   ""

Definition at line 69 of file ether.c.

#define RNDIS_PRODUCT_NUM   0xa4a2 /* Ethernet/RNDIS Gadget */

Definition at line 145 of file ether.c.

#define RNDIS_VENDOR_NUM   0x0525 /* NetChip */

Definition at line 144 of file ether.c.

#define SIMPLE_PRODUCT_NUM   0x505a

Definition at line 137 of file ether.c.

#define SIMPLE_VENDOR_NUM   0x049f

Definition at line 136 of file ether.c.

Function Documentation

MODULE_AUTHOR ( "David  Brownell,
Benedikt Spanger"   
)
MODULE_DESCRIPTION ( PREFIX  DRIVER_DESC)
module_exit ( cleanup  )
module_init ( init  )
MODULE_LICENSE ( "GPL"  )
module_param ( use_eem  ,
bool  ,
 
)
MODULE_PARM_DESC ( use_eem  ,
"use CDC EEM mode  
)
USB_GADGET_COMPOSITE_OPTIONS ( )