Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gl620a.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/usbnet.h>
#include <linux/gfp.h>

Go to the source code of this file.

Data Structures

struct  gl_packet
 
struct  gl_header
 

Macros

#define GENELINK_CONNECT_WRITE   0xF0
 
#define GENELINK_INTERRUPT_PIPE   0x03
 
#define INTERRUPT_BUFSIZE   0x08
 
#define GENELINK_INTERRUPT_INTERVAL   0x10
 
#define GL_MAX_TRANSMIT_PACKETS   32
 
#define GL_MAX_PACKET_LEN   1514
 
#define GL_RCV_BUF_SIZE   (((GL_MAX_PACKET_LEN + 4) * GL_MAX_TRANSMIT_PACKETS) + 4)
 

Functions

 MODULE_DEVICE_TABLE (usb, products)
 
 module_usb_driver (gl620a_driver)
 
 MODULE_AUTHOR ("Jiun-Jie Huang")
 
 MODULE_DESCRIPTION ("GL620-USB-A Host-to-Host Link cables")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define GENELINK_CONNECT_WRITE   0xF0

Definition at line 56 of file gl620a.c.

#define GENELINK_INTERRUPT_INTERVAL   0x10

Definition at line 62 of file gl620a.c.

#define GENELINK_INTERRUPT_PIPE   0x03

Definition at line 58 of file gl620a.c.

#define GL_MAX_PACKET_LEN   1514

Definition at line 66 of file gl620a.c.

#define GL_MAX_TRANSMIT_PACKETS   32

Definition at line 64 of file gl620a.c.

#define GL_RCV_BUF_SIZE   (((GL_MAX_PACKET_LEN + 4) * GL_MAX_TRANSMIT_PACKETS) + 4)

Definition at line 68 of file gl620a.c.

#define INTERRUPT_BUFSIZE   0x08

Definition at line 60 of file gl620a.c.

Function Documentation

MODULE_AUTHOR ( "Jiun-Jie Huang"  )
MODULE_DESCRIPTION ( "GL620-USB-A Host-to-Host Link cables"  )
MODULE_DEVICE_TABLE ( usb  ,
products   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( gl620a_driver  )