#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/isapnp.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mdio-bitbang.h>
#include <linux/phy.h>
#include <linux/eeprom_93cx6.h>
#include <linux/slab.h>
#include <net/ax88796.h>
#include "lib8390.c"
Go to the source code of this file.
#define ____alloc_ei_netdev ax__alloc_ei_netdev |
#define __ei_close ax_ei_close |
#define __ei_get_stats ax_ei_get_stats |
#define __ei_interrupt ax_ei_interrupt |
#define __ei_open ax_ei_open |
#define __ei_poll ax_ei_poll |
#define __ei_set_multicast_list ax_ei_set_multicast_list |
#define __ei_start_xmit ax_ei_start_xmit |
#define __ei_tx_timeout ax_ei_tx_timeout |
#define __NS8390_init ax_NS8390_init |
#define AX_GPOC_PPDSET BIT(6) |
#define AX_MEMR_EECLK BIT(7) |
#define AX_MEMR_EECS BIT(4) |
#define AX_MEMR_EEI BIT(5) |
#define AX_MEMR_EEO BIT(6) |
#define AX_MEMR_MDC BIT(0) |
#define AX_MEMR_MDI BIT(2) |
#define AX_MEMR_MDIR BIT(1) |
#define AX_MEMR_MDO BIT(3) |
#define DRV_NAME "ax88796" |
#define DRV_VERSION "1.00" |
#define ei_inb_p |
( |
|
_a | ) |
ei_inb(_a) |
#define ei_outb_p |
( |
|
_v, |
|
|
|
_a |
|
) |
| ei_outb(_v, _a) |
#define EI_SHIFT |
( |
|
x | ) |
(ei_local->reg_offset[(x)]) |
#define NE1SM_START_PG 0x20 /* First page of TX buffer */ |
#define NE1SM_STOP_PG 0x40 /* Last page +1 of RX ring */ |
#define NESM_START_PG 0x40 /* First page of TX buffer */ |
#define NESM_STOP_PG 0x80 /* Last page +1 of RX ring */ |
MODULE_ALIAS |
( |
"platform:ax88796" |
| ) |
|
MODULE_AUTHOR |
( |
"Ben |
Dooks, |
|
|
< ben @simtec.co.uk >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"AX88796 10/100 Ethernet platform driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
axdrv |
| ) |
|