Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/if_ether.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/moduleparam.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <asm/dma.h>
#include <asm/irq.h>
Go to the source code of this file.
Data Structures | |
struct | pcnet32_rx_head |
struct | pcnet32_tx_head |
struct | pcnet32_init_block |
struct | pcnet32_access |
struct | pcnet32_private |
Functions | |
MODULE_DEVICE_TABLE (pci, pcnet32_pci_tbl) | |
module_param (debug, int, 0) | |
MODULE_PARM_DESC (debug, DRV_NAME" debug level") | |
module_param (max_interrupt_work, int, 0) | |
MODULE_PARM_DESC (max_interrupt_work, DRV_NAME" maximum events handled per interrupt") | |
module_param (rx_copybreak, int, 0) | |
MODULE_PARM_DESC (rx_copybreak, DRV_NAME" copy breakpoint for copy-only-tiny-frames") | |
module_param (tx_start_pt, int, 0) | |
MODULE_PARM_DESC (tx_start_pt, DRV_NAME" transmit start point (0-3)") | |
module_param (pcnet32vlb, int, 0) | |
MODULE_PARM_DESC (pcnet32vlb, DRV_NAME" Vesa local bus (VLB) support (0/1)") | |
module_param_array (options, int, NULL, 0) | |
MODULE_PARM_DESC (options, DRV_NAME" initial option setting(s) (0-15)") | |
module_param_array (full_duplex, int, NULL, 0) | |
MODULE_PARM_DESC (full_duplex, DRV_NAME" full duplex setting(s) (1)") | |
module_param_array (homepna, int, NULL, 0) | |
MODULE_PARM_DESC (homepna, DRV_NAME" mode for 79C978 cards (1 for HomePNA, 0 for Ethernet, default Ethernet") | |
MODULE_AUTHOR ("Thomas Bogendoerfer") | |
MODULE_DESCRIPTION ("Driver for PCnet32 and PCnetPCI based ethercards") | |
MODULE_LICENSE ("GPL") | |
module_init (pcnet32_init_module) | |
module_exit (pcnet32_cleanup_module) | |
#define CSR0_NORMAL (CSR0_START | CSR0_INTEN) |
#define NEG_BUF_SIZE (NET_IP_ALIGN - PKT_BUF_SKB) |
#define PCNET32_MSG_DEFAULT (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) |
#define PCNET32_TEST_LEN ARRAY_SIZE(pcnet32_gstrings_test) |
#define PKT_BUF_SIZE (PKT_BUF_SKB - NET_IP_ALIGN) |
#define RX_MAX_RING_SIZE (1 << (PCNET32_LOG_MAX_RX_BUFFERS)) |
#define RX_RING_SIZE (1 << (PCNET32_LOG_RX_BUFFERS)) |
#define TX_MAX_RING_SIZE (1 << (PCNET32_LOG_MAX_TX_BUFFERS)) |
#define TX_RING_SIZE (1 << (PCNET32_LOG_TX_BUFFERS)) |
MODULE_AUTHOR | ( | "Thomas Bogendoerfer" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
pcnet32_pci_tbl | |||
) |
module_exit | ( | pcnet32_cleanup_module | ) |
module_init | ( | pcnet32_init_module | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | max_interrupt_work | , |
int | , | ||
0 | |||
) |
module_param | ( | rx_copybreak | , |
int | , | ||
0 | |||
) |
module_param | ( | tx_start_pt | , |
int | , | ||
0 | |||
) |
module_param | ( | pcnet32vlb | , |
int | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | rx_copybreak | , |
DRV_NAME" copy breakpoint for copy-only-tiny-frames" | |||
) |
MODULE_PARM_DESC | ( | homepna | ) |