#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include "8390.h"
Go to the source code of this file.
|
enum | {
ONLY_16BIT_IO =8,
ONLY_32BIT_IO =4,
FORCE_FDX =0x20,
REALTEK_FDX =0x40,
HOLTEK_FDX =0x80,
STOP_PG_0x60 =0x100
} |
|
enum | ne2k_pci_chipsets {
CH_RealTek_RTL_8029 = 0,
CH_Winbond_89C940,
CH_Compex_RL2000,
CH_KTI_ET32P2,
CH_NetVin_NV5000SC,
CH_Via_86C926,
CH_SureCom_NE34,
CH_Winbond_W89C940F,
CH_Holtek_HT80232,
CH_Holtek_HT80229,
CH_Winbond_89C940_8c4a
} |
|
|
| MODULE_AUTHOR ("Donald Becker / Paul Gortmaker") |
|
| MODULE_DESCRIPTION ("PCI NE2000 clone driver") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (debug, int, 0) |
|
| module_param_array (options, int, NULL, 0) |
|
| module_param_array (full_duplex, int, NULL, 0) |
|
| MODULE_PARM_DESC (debug,"debug level (1-2)") |
|
| MODULE_PARM_DESC (options,"Bit 5: full duplex") |
|
| MODULE_PARM_DESC (full_duplex,"full duplex setting(s) (1)") |
|
| MODULE_DEVICE_TABLE (pci, ne2k_pci_tbl) |
|
| module_init (ne2k_pci_init) |
|
| module_exit (ne2k_pci_cleanup) |
|
#define DRV_NAME "ne2k-pci" |
#define DRV_RELDATE "9/22/2003" |
#define DRV_VERSION "1.03" |
#define MAX_UNITS 8 /* More are supported, limit only on options */ |
#define NE_BASE (dev->base_addr) |
#define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ |
#define NE_IO_EXTENT 0x20 |
#define NE_RESET 0x1f /* Issue a read to reset, a write to clear. */ |
#define NESM_START_PG 0x40 /* First page of TX buffer */ |
#define NESM_STOP_PG 0x80 /* Last page +1 of RX ring */ |
- Enumerator:
ONLY_16BIT_IO |
|
ONLY_32BIT_IO |
|
FORCE_FDX |
|
REALTEK_FDX |
|
HOLTEK_FDX |
|
STOP_PG_0x60 |
|
Definition at line 97 of file ne2k-pci.c.
- Enumerator:
CH_RealTek_RTL_8029 |
|
CH_Winbond_89C940 |
|
CH_Compex_RL2000 |
|
CH_KTI_ET32P2 |
|
CH_NetVin_NV5000SC |
|
CH_Via_86C926 |
|
CH_SureCom_NE34 |
|
CH_Winbond_W89C940F |
|
CH_Holtek_HT80232 |
|
CH_Holtek_HT80229 |
|
CH_Winbond_89C940_8c4a |
|
Definition at line 104 of file ne2k-pci.c.
MODULE_AUTHOR |
( |
"Donald Becker / Paul Gortmaker" |
| ) |
|
MODULE_DESCRIPTION |
( |
"PCI NE2000 clone driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
ne2k_pci_tbl |
|
|
) |
| |
module_exit |
( |
ne2k_pci_cleanup |
| ) |
|
module_init |
( |
ne2k_pci_init |
| ) |
|
module_param_array |
( |
full_duplex |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
full_duplex |
, |
|
|
"full duplex setting(s) (1)" |
|
|
) |
| |