#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/gfp.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
Go to the source code of this file.
|
enum | commands {
CmdNOp = 0,
CmdSASetup = 1,
CmdConfigure = 2,
CmdMulticastList = 3,
CmdTx = 4,
CmdTDR = 5,
CmdDump = 6,
CmdDiagnose = 7,
CmdNOp = 0,
CmdSASetup = 1,
CmdConfigure = 2,
CmdMulticastList = 3,
CmdTx = 4,
CmdTDR = 5,
CmdDump = 6,
CmdDiagnose = 7,
CmdNOp = 0,
CmdSASetup = 1,
CmdConfigure = 2,
CmdMulticastList = 3,
CmdTx = 4,
CmdTDR = 5,
CmdDump = 6,
CmdDiagnose = 7,
CmdNOP = 0,
CmdIASetup = 1,
CmdConfigure = 2,
CmdMulticastList = 3,
CmdTx = 4,
CmdTDR = 5,
CmdDump = 6,
CmdDiagnose = 7
} |
|
#define CMD_EOL 0x8000 /* The last command of the list, stop. */ |
#define CMD_FLEX 0x0008 /* Enable flexible memory model */ |
#define CMD_INTR 0x2000 /* Interrupt after doing cmd. */ |
#define CMD_SUSP 0x4000 /* Suspend after doing cmd. */ |
#define CUC_RESUME 0x0200 |
#define CUC_SUSPEND 0x0300 |
#define DEB_ADDCMD 0x0100 |
#define DEB_ERRORS 0x0008 |
#define DEB_RXADDR 0x0800 |
#define DEB_RXFRAME 0x2000 |
#define DEB_SERIOUS 0x0004 |
#define DEB_STARTTX 0x0400 |
#define DEB_STATUS 0x0200 |
#define DEB_STRUCT 0x8000 |
#define DEB_TXADDR 0x1000 |
#define I596_NULL ((void *)0xffffffff) |
#define I596_TOTAL_SIZE 17 |
#define MACH_IS_APRICOT 1 |
#define PORT_ALTDUMP 0x03 /* Alternate DUMP address */ |
#define PORT_ALTSCP 0x02 /* alternate SCB address */ |
#define PORT_RESET 0x00 /* reset 82596 */ |
#define PORT_SELFTEST 0x01 /* selftest */ |
#define RX_SUSPEND 0x0030 |
#define STAT_A 0x1000 /* Command aborted */ |
#define STAT_B 0x4000 /* Command being executed */ |
#define STAT_C 0x8000 /* Set to 0 after execution */ |
#define STAT_OK 0x2000 /* Command executed ok */ |
#define TX_TIMEOUT (HZ/20) |
- Enumerator:
CmdNOp |
|
CmdSASetup |
|
CmdConfigure |
|
CmdMulticastList |
|
CmdTx |
|
CmdTDR |
|
CmdDump |
|
CmdDiagnose |
|
CmdNOp |
|
CmdSASetup |
|
CmdConfigure |
|
CmdMulticastList |
|
CmdTx |
|
CmdTDR |
|
CmdDump |
|
CmdDiagnose |
|
CmdNOp |
|
CmdSASetup |
|
CmdConfigure |
|
CmdMulticastList |
|
CmdTx |
|
CmdTDR |
|
CmdDump |
|
CmdDiagnose |
|
CmdNOP |
|
CmdIASetup |
|
CmdConfigure |
|
CmdMulticastList |
|
CmdTx |
|
CmdTDR |
|
CmdDump |
|
CmdDiagnose |
|
Definition at line 175 of file 82596.c.
MODULE_AUTHOR |
( |
"Richard Hirst" |
| ) |
|
MODULE_DESCRIPTION |
( |
"i82596 driver" |
| ) |
|