#include <linux/compiler.h>
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/firmware.h>
#include <linux/if_vlan.h>
#include <linux/in.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/gfp.h>
#include <linux/ioport.h>
#include <linux/ip.h>
#include <linux/kernel.h>
#include <linux/mii.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/skbuff.h>
#include <linux/tcp.h>
#include <linux/types.h>
#include <linux/vmalloc.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/bitops.h>
#include <asm/pci-bridge.h>
#include <net/checksum.h>
#include "spider_net.h"
Go to the source code of this file.
#define SPIDER_MISALIGN 2 |
MODULE_DESCRIPTION |
( |
"Spider Southbridge Gigabit Ethernet driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
spider_net_pci_tbl |
|
|
) |
| |
module_exit |
( |
spider_net_cleanup |
| ) |
|
module_init |
( |
spider_net_init |
| ) |
|
module_param |
( |
rx_descriptors |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
tx_descriptors |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
spider_net_open - called upon ifonfig up : interface device structure
returns 0 on success, <0 on failure
spider_net_open allocates all the descriptors and memory needed for operation, sets up multicast list and enables interrupts
Definition at line 1968 of file spider_net.c.
spider_net_stop - called upon ifconfig down : interface device structure
always returns 0
Definition at line 2176 of file spider_net.c.
char spider_net_driver_name[] = "spidernet" |