#include <linux/module.h>
#include <linux/eisa.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <asm/io.h>
#include "8390.h"
Go to the source code of this file.
#define DRV_NAME "lne390" |
#define LNE390_ADDR0 0x00 /* 3 byte vendor prefix */ |
#define LNE390_ADDR1 0x80 |
#define LNE390_ADDR2 0xe5 |
#define LNE390_CFG1 0xc84 /* NB: 0xc84 is also "reset" port. */ |
#define LNE390_CFG2 0xc90 |
#define LNE390_D_IRQ 0x08 |
#define LNE390_D_PROBE 0x01 |
#define LNE390_D_RX_PKT 0x02 |
#define LNE390_D_TX_PKT 0x04 |
#define LNE390_ID0 0x10009835 /* 0x3598 = 01101 01100 11000 = mlx */ |
#define LNE390_ID1 0x11009835 /* above is the 390A, this is 390B */ |
#define LNE390_ID_PORT 0xc80 /* Same for all EISA cards */ |
#define LNE390_IO_EXTENT 0x20 |
#define LNE390_NIC_OFFSET 0x00 /* Hello, the 8390 is *here* */ |
#define LNE390_RESET_PORT 0xc84 /* From the pkt driver source */ |
#define LNE390_SA_PROM 0x16 /* Start of e'net addr. */ |
#define LNE390_START_PG 0x00 /* First page of TX buffer */ |
#define LNE390_STOP_PG 0x80 /* Last page +1 of RX ring */ |