|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/string.h>#include <linux/delay.h>#include <linux/errno.h>#include <linux/ioport.h>#include <linux/slab.h>#include <linux/interrupt.h>#include <linux/pci.h>#include <linux/init.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/skbuff.h>#include <linux/mm.h>#include <linux/bitops.h>#include <asm/io.h>#include <asm/dma.h>Go to the source code of this file.
Data Structures | |
| struct | card |
| struct | lance_rx_head |
| struct | lance_tx_head |
| struct | lance_init_block |
| struct | lance_private |
| struct | lance_chip_type |
Macros | |
| #define | NUM_CARDS 3 |
| #define | LANCE_LOG_TX_BUFFERS 4 |
| #define | LANCE_LOG_RX_BUFFERS 4 |
| #define | TX_RING_SIZE (1 << (LANCE_LOG_TX_BUFFERS)) |
| #define | TX_RING_MOD_MASK (TX_RING_SIZE - 1) |
| #define | TX_RING_LEN_BITS ((LANCE_LOG_TX_BUFFERS) << 29) |
| #define | RX_RING_SIZE (1 << (LANCE_LOG_RX_BUFFERS)) |
| #define | RX_RING_MOD_MASK (RX_RING_SIZE - 1) |
| #define | RX_RING_LEN_BITS ((LANCE_LOG_RX_BUFFERS) << 29) |
| #define | PKT_BUF_SZ 1544 |
| #define | LANCE_DATA 0x10 |
| #define | LANCE_ADDR 0x12 |
| #define | LANCE_RESET 0x14 |
| #define | LANCE_BUS_IF 0x16 |
| #define | LANCE_TOTAL_SIZE 0x18 |
| #define | TX_TIMEOUT (HZ/5) |
| #define | LANCE_MUST_PAD 0x00000001 |
| #define | LANCE_ENABLE_AUTOSELECT 0x00000002 |
| #define | LANCE_MUST_REINIT_RING 0x00000004 |
| #define | LANCE_MUST_UNRESET 0x00000008 |
| #define | LANCE_HAS_MISSED_FRAME 0x00000010 |
Enumerations | |
| enum | { OLD_LANCE = 0, PCNET_ISA =1, PCNET_ISAP =2, PCNET_PCI =3, PCNET_VLB =4, PCNET_PCI_II =5, LANCE_UNKNOWN =6 } |
Functions | |
| MODULE_LICENSE ("GPL") | |
| struct net_device *__init | lance_probe (int unit) |
| #define RX_RING_LEN_BITS ((LANCE_LOG_RX_BUFFERS) << 29) |
| #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) |
| #define RX_RING_SIZE (1 << (LANCE_LOG_RX_BUFFERS)) |
| #define TX_RING_LEN_BITS ((LANCE_LOG_TX_BUFFERS) << 29) |
| #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) |
| #define TX_RING_SIZE (1 << (LANCE_LOG_TX_BUFFERS)) |
| anonymous enum |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2