#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/usb.h>
#include <linux/module.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
#include "pegasus.h"
Go to the source code of this file.
|
#define | DRIVER_VERSION "v0.6.14 (2006/09/27)" |
|
#define | DRIVER_AUTHOR "Petko Manolov <[email protected]>" |
|
#define | DRIVER_DESC "Pegasus/Pegasus II USB Ethernet driver" |
|
#define | BMSR_MEDIA |
|
#define | PEGASUS_DEV(pn, vid, pid, flags) {.name = pn, .vendor = vid, .device = pid, .private = flags}, |
|
#define | PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) PEGASUS_DEV(pn, vid, pid, flags) |
|
#define | PEGASUS_DEV(pn, vid, pid, flags) {.match_flags = USB_DEVICE_ID_MATCH_DEVICE, .idVendor = vid, .idProduct = pid}, |
|
#define | PEGASUS_DEV_CLASS(pn, vid, pid, dclass, flags) |
|
#define | WOL_SUPPORTED (WAKE_MAGIC|WAKE_PHY) |
|
#define | CARRIER_CHECK_DELAY (2 * HZ) |
|
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (loopback, bool, 0) |
|
| module_param (mii_mode, bool, 0) |
|
| module_param (devid, charp, 0) |
|
| MODULE_PARM_DESC (loopback,"Enable MAC loopback mode (bit 0)") |
|
| MODULE_PARM_DESC (mii_mode,"Enable HomePNA mode (bit 0),default=MII mode = 0") |
|
| MODULE_PARM_DESC (devid,"The format is: 'DEV_name:VendorID:DeviceID:Flags'") |
|
| module_param (msg_level, int, 0) |
|
| MODULE_PARM_DESC (msg_level,"Override default message level") |
|
| MODULE_DEVICE_TABLE (usb, pegasus_ids) |
|
| module_init (pegasus_init) |
|
| module_exit (pegasus_exit) |
|
#define CARRIER_CHECK_DELAY (2 * HZ) |
#define DRIVER_DESC "Pegasus/Pegasus II USB Ethernet driver" |
#define DRIVER_VERSION "v0.6.14 (2006/09/27)" |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
pegasus_ids |
|
|
) |
| |
module_exit |
( |
pegasus_exit |
| ) |
|
module_init |
( |
pegasus_init |
| ) |
|
module_param |
( |
mii_mode |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
devid |
, |
|
|
charp |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
msg_level |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mii_mode |
, |
|
|
"Enable HomePNA mode |
bit 0 |
|
) |
| |
MODULE_PARM_DESC |
( |
devid |
, |
|
|
"The format is: 'DEV_name:VendorID:DeviceID:Flags'" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
msg_level |
, |
|
|
"Override default message level" |
|
|
) |
| |