#include <linux/module.h>
#include <linux/eisa.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include <asm/irq.h>
#include "8390.h"
Go to the source code of this file.
#define AC_ADDR0 0x00 /* Prefix station address values. */ |
#define AC_CONFIG 0xC90 /* The configuration port. */ |
#define AC_EISA_ID 0x0110d305 |
#define AC_IO_EXTENT 0x20 |
#define AC_RESET_PORT 0xC84 |
#define AC_SA_PROM 0x16 /* The station address PROM. */ |
#define AC_START_PG 0x00 /* First page of 8390 TX buffer */ |
#define AC_STOP_PG 0x80 /* Last page +1 of the 8390 RX ring */ |
#define config2irq |
( |
|
configval | ) |
config2irqmap[((configval) >> 3) & 7] |
#define config2mem |
( |
|
configval | ) |
addrmap[(configval) & 7] |
#define config2name |
( |
|
configval | ) |
port_name[((configval) >> 6) & 3] |
#define DRV_NAME "ac3200" |