#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/if_vlan.h>
#include <linux/ctype.h>
#include <linux/crc32.h>
#include <linux/dma-mapping.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
#include "amd8111e.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Advanced Micro Devices, Inc.") |
|
| MODULE_DESCRIPTION ("AMD8111 based 10/100 Ethernet Controller. Driver Version "MODULE_VERS) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DEVICE_TABLE (pci, amd8111e_pci_tbl) |
|
| module_param_array (speed_duplex, int, NULL, 0) |
|
| MODULE_PARM_DESC (speed_duplex,"Set device speed and duplex modes, 0: Auto Negotiate, 1: 10Mbps Half Duplex, 2: 10Mbps Full Duplex, 3: 100Mbps Half Duplex, 4: 100Mbps Full Duplex") |
|
| module_param_array (coalesce, bool, NULL, 0) |
|
| MODULE_PARM_DESC (coalesce,"Enable or Disable interrupt coalescing, 1: Enable, 0: Disable") |
|
| module_param_array (dynamic_ipg, bool, NULL, 0) |
|
| MODULE_PARM_DESC (dynamic_ipg,"Enable or Disable dynamic IPG, 1: Enable, 0: Disable") |
|
| module_init (amd8111e_init) |
|
| module_exit (amd8111e_cleanup) |
|
#define AMD8111E_VLAN_TAG_USED 0 |
#define MODULE_NAME "amd8111e" |
#define MODULE_VERS "3.0.7" |
MODULE_AUTHOR |
( |
"Advanced Micro |
Devices, |
|
|
Inc." |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"AMD8111 based 10/100 Ethernet Controller. Driver Version " |
MODULE_VERS | ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
amd8111e_pci_tbl |
|
|
) |
| |
module_exit |
( |
amd8111e_cleanup |
| ) |
|
module_init |
( |
amd8111e_init |
| ) |
|
module_param_array |
( |
speed_duplex |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
coalesce |
, |
|
|
bool |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
module_param_array |
( |
dynamic_ipg |
, |
|
|
bool |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
speed_duplex |
, |
|
|
"Set device speed and duplex |
modes, |
|
|
0:Auto |
Negotiate, |
|
|
1:10Mbps Half |
Duplex, |
|
|
2:10Mbps Full |
Duplex, |
|
|
3:100Mbps Half |
Duplex, |
|
|
4:100Mbps Full Duplex" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
coalesce |
, |
|
|
"Enable or Disable interrupt |
coalescing, |
|
|
1:Enable |
, |
|
|
0:Disable" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dynamic_ipg |
, |
|
|
"Enable or Disable dynamic |
IPG, |
|
|
1:Enable |
, |
|
|
0:Disable" |
|
|
) |
| |