#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/ctype.h>
#include <linux/ethtool.h>
#include <linux/workqueue.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include <linux/usb.h>
#include <linux/hrtimer.h>
#include <linux/atomic.h>
#include <linux/usb/usbnet.h>
#include <linux/usb/cdc.h>
Go to the source code of this file.
#define CDC_NCM_DPT_DATAGRAMS_MAX 40 |
#define CDC_NCM_MAX_DATAGRAM_SIZE 8192 /* bytes */ |
#define CDC_NCM_MIN_DATAGRAM_SIZE 1514 /* bytes */ |
#define CDC_NCM_MIN_HDR_SIZE |
#define CDC_NCM_MIN_TX_PKT 512 /* bytes */ |
#define CDC_NCM_NTB_MAX_SIZE_RX 32768 /* bytes */ |
#define CDC_NCM_NTB_MAX_SIZE_TX 32768 /* bytes */ |
#define CDC_NCM_RESTART_TIMER_DATAGRAM_CNT 3 |
#define CDC_NCM_TIMER_INTERVAL (400UL * NSEC_PER_USEC) |
#define CDC_NCM_TIMER_PENDING_CNT 2 |
#define DRIVER_VERSION "14-Mar-2012" |
#define USB_CDC_NCM_NDP16_LENGTH_MIN 0x10 |
MODULE_AUTHOR |
( |
"Hans Petter Selasky" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
cdc_devs |
|
|
) |
| |
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_usb_driver |
( |
cdc_ncm_driver |
| ) |
|