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

Go to the source code of this file.

Macros

#define INT51X1_VENDOR_ID   0x09e1
 
#define INT51X1_PRODUCT_ID   0x5121
 
#define INT51X1_HEADER_SIZE   2 /* 2 byte header */
 
#define PACKET_TYPE_PROMISCUOUS   (1 << 0)
 
#define PACKET_TYPE_ALL_MULTICAST   (1 << 1) /* no filter */
 
#define PACKET_TYPE_DIRECTED   (1 << 2)
 
#define PACKET_TYPE_BROADCAST   (1 << 3)
 
#define PACKET_TYPE_MULTICAST   (1 << 4) /* filtered */
 
#define SET_ETHERNET_PACKET_FILTER   0x43
 

Functions

 MODULE_DEVICE_TABLE (usb, products)
 
 module_usb_driver (int51x1_driver)
 
 MODULE_AUTHOR ("Peter Holik")
 
 MODULE_DESCRIPTION ("Intellon usb powerline adapter")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define INT51X1_HEADER_SIZE   2 /* 2 byte header */

Definition at line 40 of file int51x1.c.

#define INT51X1_PRODUCT_ID   0x5121

Definition at line 38 of file int51x1.c.

#define INT51X1_VENDOR_ID   0x09e1

Definition at line 37 of file int51x1.c.

#define PACKET_TYPE_ALL_MULTICAST   (1 << 1) /* no filter */

Definition at line 43 of file int51x1.c.

#define PACKET_TYPE_BROADCAST   (1 << 3)

Definition at line 45 of file int51x1.c.

#define PACKET_TYPE_DIRECTED   (1 << 2)

Definition at line 44 of file int51x1.c.

#define PACKET_TYPE_MULTICAST   (1 << 4) /* filtered */

Definition at line 46 of file int51x1.c.

#define PACKET_TYPE_PROMISCUOUS   (1 << 0)

Definition at line 42 of file int51x1.c.

#define SET_ETHERNET_PACKET_FILTER   0x43

Definition at line 48 of file int51x1.c.

Function Documentation

MODULE_AUTHOR ( "Peter Holik"  )
MODULE_DESCRIPTION ( "Intellon usb powerline adapter )
MODULE_DEVICE_TABLE ( usb  ,
products   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( int51x1_driver  )