#include <linux/module.h>
#include <linux/sched.h>
#include <linux/stddef.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/usb.h>
#include <linux/crc32.h>
#include <linux/usb/usbnet.h>
#include <linux/slab.h>
Go to the source code of this file.
#define DM_EEPROM_LEN 256 |
#define DM_MCAST_ADDR 0x16 /* 8 bytes */ |
#define DM_PHY_ADDR 0x10 /* 6 bytes */ |
#define DM_READ_MEMS 0x02 |
#define DM_READ_REGS 0x00 |
#define DM_SHARED_ADDR 0x0c |
#define DM_SHARED_CTRL 0x0b |
#define DM_SHARED_DATA 0x0d /* low + high */ |
#define DM_WRITE_MEM 0x07 |
#define DM_WRITE_MEMS 0x05 |
#define DM_WRITE_REG 0x03 |
#define DM_WRITE_REGS 0x01 |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
products |
|
|
) |
| |
module_usb_driver |
( |
dm9601_driver |
| ) |
|