Linux Kernel
3.7.1
|
#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>
Go to the source code of this file.
Macros | |
#define | CMD_PACKET_SIZE 64 |
#define | CMD_TIMEOUT 15000 |
#define | CMD_REPLY_RETRY 5 |
#define | CX82310_MTU 1514 |
#define | CMD_EP 0x01 |
#define | partial_len data[0] /* length of partial packet data */ |
#define | partial_rem data[1] /* remaining (missing) data length */ |
#define | partial_data data[2] /* partial packet data */ |
Enumerations | |
enum | cx82310_cmd { CMD_START = 0x84, CMD_STOP = 0x85, CMD_GET_STATUS = 0x90, CMD_GET_MAC_ADDR = 0x91, CMD_GET_LINK_STATUS = 0x92, CMD_ETHERNET_MODE = 0x99 } |
enum | cx82310_status { STATUS_UNDEFINED, STATUS_SUCCESS, STATUS_ERROR, STATUS_UNSUPPORTED, STATUS_UNIMPLEMENTED, STATUS_PARAMETER_ERROR, STATUS_DBG_LOOPBACK } |
Functions | |
MODULE_DEVICE_TABLE (usb, products) | |
module_usb_driver (cx82310_driver) | |
MODULE_AUTHOR ("Ondrej Zary") | |
MODULE_DESCRIPTION ("Conexant CX82310-based ADSL router USB ethernet driver") | |
MODULE_LICENSE ("GPL") | |
#define CMD_EP 0x01 |
Definition at line 56 of file cx82310_eth.c.
#define CMD_PACKET_SIZE 64 |
Definition at line 50 of file cx82310_eth.c.
#define CMD_REPLY_RETRY 5 |
Definition at line 53 of file cx82310_eth.c.
#define CMD_TIMEOUT 15000 |
Definition at line 52 of file cx82310_eth.c.
#define CX82310_MTU 1514 |
Definition at line 55 of file cx82310_eth.c.
Definition at line 132 of file cx82310_eth.c.
Definition at line 130 of file cx82310_eth.c.
Definition at line 131 of file cx82310_eth.c.
enum cx82310_cmd |
CMD_START | |
CMD_STOP | |
CMD_GET_STATUS | |
CMD_GET_MAC_ADDR | |
CMD_GET_LINK_STATUS | |
CMD_ETHERNET_MODE |
Definition at line 31 of file cx82310_eth.c.
enum cx82310_status |
STATUS_UNDEFINED | |
STATUS_SUCCESS | |
STATUS_ERROR | |
STATUS_UNSUPPORTED | |
STATUS_UNIMPLEMENTED | |
STATUS_PARAMETER_ERROR | |
STATUS_DBG_LOOPBACK |
Definition at line 40 of file cx82310_eth.c.
MODULE_AUTHOR | ( | "Ondrej Zary" | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
products | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_usb_driver | ( | cx82310_driver | ) |