#include <linux/pci.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/ctype.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/if_arp.h>
#include <linux/ioport.h>
#include <linux/crc32.h>
#include <linux/random.h>
#include <linux/phy.h>
#include "et131x.h"
Go to the source code of this file.
#define ALCATEL_BROADCAST_PKT 0x02000000 |
#define ALCATEL_MULTICAST_PKT 0x01000000 |
#define COUNTER_WRAP_12_BIT 0x1000 |
#define COUNTER_WRAP_16_BIT 0x10000 |
#define ET1310_PCI_ACK_NACK 0xC0 |
#define ET1310_PCI_EEPROM_STATUS 0xB2 |
#define ET1310_PCI_L0L1LATENCY 0xCF |
#define ET1310_PCI_MAC_ADDRESS 0xA4 |
#define ET1310_PCI_REPLAY 0xC2 |
#define ET131X_PACKET_TYPE_ALL_MULTICAST 0x0010 |
#define ET131X_PACKET_TYPE_BROADCAST 0x0004 |
#define ET131X_PACKET_TYPE_DIRECTED 0x0001 |
#define ET131X_PACKET_TYPE_MULTICAST 0x0002 |
#define ET131X_PACKET_TYPE_PROMISCUOUS 0x0008 |
#define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */ |
#define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */ |
#define ET131X_PM_OPS NULL |
#define ET131X_REGS_LEN 256 |
#define ET131X_TX_TIMEOUT (1 * HZ) |
#define fMP_ADAPTER_FAIL_SEND_MASK 0x3ff00000 |
#define fMP_ADAPTER_HARDWARE_ERROR 0x04000000 |
#define fMP_ADAPTER_INTERRUPT_IN_USE 0x00000008 |
#define fMP_ADAPTER_LOWER_POWER 0x00200000 |
#define fMP_ADAPTER_NON_RECOVER_ERROR 0x00800000 |
#define fMP_ADAPTER_RECV_LOOKASIDE 0x00000004 |
#define fMP_DEST_BROAD 0x00000002 |
#define fMP_DEST_MULTI 0x00000001 |
#define INT_MASK_DISABLE 0xffffffff |
#define INT_MASK_ENABLE 0xfffebf17 |
#define INT_MASK_ENABLE_NO_FLOW 0xfffebfd7 |
#define INTERNAL_MEM_RX_OFFSET 0x1FF /* 50% Tx, 50% Rx */ |
#define INTERNAL_MEM_SIZE 0x400 /* 1024 of internal memory */ |
#define LO_MARK_PERCENT_FOR_PSR 15 |
#define LO_MARK_PERCENT_FOR_RX 15 |
#define MAX_DESC_PER_RING_RX 1024 |
#define MAX_NUM_REGISTER_POLLS 1000 |
#define MAX_NUM_WRITE_RETRIES 2 |
#define NANO_IN_A_MICRO 1000 |
#define NIC_DEFAULT_NUM_RFD 1024 |
#define NIC_MAX_MCAST_LIST 128 |
#define NIC_MIN_NUM_RFD 64 |
#define NIC_MIN_PACKET_SIZE 60 |
#define NIC_SEND_HANG_THRESHOLD 0 |
#define NUM_DESC_PER_RING_TX 512 /* TX Do not change these values */ |
#define NUM_PACKETS_HANDLED 256 |
#define PARM_DMA_CACHE_DEF 0 |
#define PARM_RX_MEM_END_DEF 0x2bc |
#define PARM_RX_NUM_BUFS_DEF 4 |
#define PARM_RX_TIME_INT_DEF 10 |
#define PARM_TX_NUM_BUFS_DEF 4 |
#define PARM_TX_TIME_INT_DEF 40 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define RFD_LOW_WATER_MARK 40 |
#define TX_ERROR_PERIOD 1000 |
et131x_isr - The Interrupt Service Routine for the driver. : the IRQ on which the interrupt was received. : device-specific info (here a pointer to a net_device struct)
Returns a value indicating if the interrupt was handled.
Definition at line 4450 of file et131x.c.
MODULE_DESCRIPTION |
( |
"10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
et131x_pci_table |
|
|
) |
| |
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_pci_driver |
( |
et131x_driver |
| ) |
|