Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
es3210.c File Reference
#include <linux/module.h>
#include <linux/eisa.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.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.

Macros

#define ES_START_PG   0x00 /* First page of TX buffer */
 
#define ES_STOP_PG   0x40 /* Last page +1 of RX ring */
 
#define ES_IO_EXTENT   0x37 /* The cfg file says 0xc90 -> 0xcc7 */
 
#define ES_ID_PORT   0xc80 /* Same for all EISA cards */
 
#define ES_SA_PROM   0xc90 /* Start of e'net addr. */
 
#define ES_RESET_PORT   0xc84 /* From the packet driver source */
 
#define ES_NIC_OFFSET   0xca0 /* Hello, the 8390 is *here* */
 
#define ES_ADDR0   0x02 /* 3 byte vendor prefix */
 
#define ES_ADDR1   0x07
 
#define ES_ADDR2   0x01
 
#define ES_EISA_ID1   0x01012949 /* !rii0101.cfg */
 
#define ES_EISA_ID2   0x02012949 /* !rii0102.cfg */
 
#define ES_CFG1   0xcc0 /* IOPORT(1) --> IOPORT(6) in cfg file */
 
#define ES_CFG2   0xcc1
 
#define ES_CFG3   0xcc2
 
#define ES_CFG4   0xcc3
 
#define ES_CFG5   0xcc4
 
#define ES_CFG6   0xc84 /* NB: 0xc84 is also "reset" port. */
 
#define ES_D_PROBE   0x01
 
#define ES_D_RX_PKT   0x02
 
#define ES_D_TX_PKT   0x04
 
#define ED_D_IRQ   0x08
 
#define ES_DEBUG   0
 

Functions

struct net_device *__init es_probe (int unit)
 

Macro Definition Documentation

#define ED_D_IRQ   0x08

Definition at line 111 of file es3210.c.

#define ES_ADDR0   0x02 /* 3 byte vendor prefix */

Definition at line 82 of file es3210.c.

#define ES_ADDR1   0x07

Definition at line 83 of file es3210.c.

#define ES_ADDR2   0x01

Definition at line 84 of file es3210.c.

#define ES_CFG1   0xcc0 /* IOPORT(1) --> IOPORT(6) in cfg file */

Definition at line 95 of file es3210.c.

#define ES_CFG2   0xcc1

Definition at line 96 of file es3210.c.

#define ES_CFG3   0xcc2

Definition at line 97 of file es3210.c.

#define ES_CFG4   0xcc3

Definition at line 98 of file es3210.c.

#define ES_CFG5   0xcc4

Definition at line 99 of file es3210.c.

#define ES_CFG6   0xc84 /* NB: 0xc84 is also "reset" port. */

Definition at line 100 of file es3210.c.

#define ES_D_PROBE   0x01

Definition at line 108 of file es3210.c.

#define ES_D_RX_PKT   0x02

Definition at line 109 of file es3210.c.

#define ES_D_TX_PKT   0x04

Definition at line 110 of file es3210.c.

#define ES_DEBUG   0

Definition at line 113 of file es3210.c.

#define ES_EISA_ID1   0x01012949 /* !rii0101.cfg */

Definition at line 92 of file es3210.c.

#define ES_EISA_ID2   0x02012949 /* !rii0102.cfg */

Definition at line 93 of file es3210.c.

#define ES_ID_PORT   0xc80 /* Same for all EISA cards */

Definition at line 77 of file es3210.c.

#define ES_IO_EXTENT   0x37 /* The cfg file says 0xc90 -> 0xcc7 */

Definition at line 76 of file es3210.c.

#define ES_NIC_OFFSET   0xca0 /* Hello, the 8390 is *here* */

Definition at line 80 of file es3210.c.

#define ES_RESET_PORT   0xc84 /* From the packet driver source */

Definition at line 79 of file es3210.c.

#define ES_SA_PROM   0xc90 /* Start of e'net addr. */

Definition at line 78 of file es3210.c.

#define ES_START_PG   0x00 /* First page of TX buffer */

Definition at line 73 of file es3210.c.

#define ES_STOP_PG   0x40 /* Last page +1 of RX ring */

Definition at line 74 of file es3210.c.

Function Documentation

struct net_device* __init es_probe ( int  unit)
read

Definition at line 154 of file es3210.c.