#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/skbuff.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/dma.h>
Go to the source code of this file.
| #define AT1700_IO_EXTENT 32 |
| #define CARDSTATUS 16 /* FMV-18x Card Status */ |
| #define CARDSTATUS1 17 /* FMV-18x Card Status */ |
| #define CONFIG_0 6 /* Misc. configuration settings. */ |
| #define DATAPORT 8 /* Word-wide DMA or programmed-I/O dataport. */ |
| #define DRV_NAME "at1700" |
| #define EE_CS 0x20 /* EEPROM chip select, in reg. 16. */ |
| #define EE_DATA_READ 0x80 /* EEPROM chip data out, in reg. 17. */ |
| #define EE_DATA_WRITE 0x80 /* EEPROM chip data in, in reg. 17. */ |
| #define EE_ERASE_CMD (7 << 6) |
| #define EE_READ_CMD (6 << 6) |
| #define EE_SHIFT_CLK 0x40 /* EEPROM shift clock, in reg. 16. */ |
| #define EE_WRITE_CMD (5 << 6) |
| #define IOCONFIG 18 /* Either read the jumper, or move the I/O. */ |
| #define MC_FILTERBREAK 64 |
| #define PORT_OFFSET |
( |
|
o | ) |
(o) |
| #define TX_TIMEOUT (HZ/10) |