Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cdc_ether.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/workqueue.h>
#include <linux/mii.h>
#include <linux/usb.h>
#include <linux/usb/cdc.h>
#include <linux/usb/usbnet.h>

Go to the source code of this file.

Macros

#define is_rndis(desc)   0
 
#define is_activesync(desc)   0
 
#define is_wireless_rndis(desc)   0
 
#define HUAWEI_VENDOR_ID   0x12D1
 
#define NOVATEL_VENDOR_ID   0x1410
 
#define ZTE_VENDOR_ID   0x19D2
 
#define ZAURUS_MASTER_INTERFACE
 

Functions

int usbnet_generic_cdc_bind (struct usbnet *dev, struct usb_interface *intf)
 
 EXPORT_SYMBOL_GPL (usbnet_generic_cdc_bind)
 
void usbnet_cdc_unbind (struct usbnet *dev, struct usb_interface *intf)
 
 EXPORT_SYMBOL_GPL (usbnet_cdc_unbind)
 
void usbnet_cdc_status (struct usbnet *dev, struct urb *urb)
 
 EXPORT_SYMBOL_GPL (usbnet_cdc_status)
 
int usbnet_cdc_bind (struct usbnet *dev, struct usb_interface *intf)
 
 EXPORT_SYMBOL_GPL (usbnet_cdc_bind)
 
 MODULE_DEVICE_TABLE (usb, products)
 
 module_usb_driver (cdc_driver)
 
 MODULE_AUTHOR ("David Brownell")
 
 MODULE_DESCRIPTION ("USB CDC Ethernet devices")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define HUAWEI_VENDOR_ID   0x12D1

Definition at line 487 of file cdc_ether.c.

#define is_activesync (   desc)    0

Definition at line 62 of file cdc_ether.c.

#define is_rndis (   desc)    0

Definition at line 61 of file cdc_ether.c.

#define is_wireless_rndis (   desc)    0

Definition at line 63 of file cdc_ether.c.

#define NOVATEL_VENDOR_ID   0x1410

Definition at line 488 of file cdc_ether.c.

#define ZAURUS_MASTER_INTERFACE
Value:
.bInterfaceClass = USB_CLASS_COMM, \
.bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET, \
.bInterfaceProtocol = USB_CDC_PROTO_NONE
#define ZTE_VENDOR_ID   0x19D2

Definition at line 489 of file cdc_ether.c.

Function Documentation

EXPORT_SYMBOL_GPL ( usbnet_generic_cdc_bind  )
EXPORT_SYMBOL_GPL ( usbnet_cdc_unbind  )
EXPORT_SYMBOL_GPL ( usbnet_cdc_status  )
EXPORT_SYMBOL_GPL ( usbnet_cdc_bind  )
MODULE_AUTHOR ( "David Brownell"  )
MODULE_DESCRIPTION ( "USB CDC Ethernet devices )
MODULE_DEVICE_TABLE ( usb  ,
products   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( cdc_driver  )
int usbnet_cdc_bind ( struct usbnet dev,
struct usb_interface intf 
)

Definition at line 433 of file cdc_ether.c.

void usbnet_cdc_status ( struct usbnet dev,
struct urb urb 
)

Definition at line 391 of file cdc_ether.c.

void usbnet_cdc_unbind ( struct usbnet dev,
struct usb_interface intf 
)

Definition at line 347 of file cdc_ether.c.

int usbnet_generic_cdc_bind ( struct usbnet dev,
struct usb_interface intf 
)

Definition at line 78 of file cdc_ether.c.