Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ac3200.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/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.

Macros

#define DRV_NAME   "ac3200"
 
#define AC_NIC_BASE   0x00
 
#define AC_SA_PROM   0x16 /* The station address PROM. */
 
#define AC_ADDR0   0x00 /* Prefix station address values. */
 
#define AC_ADDR1   0x40
 
#define AC_ADDR2   0x90
 
#define AC_ID_PORT   0xC80
 
#define AC_EISA_ID   0x0110d305
 
#define AC_RESET_PORT   0xC84
 
#define AC_RESET   0x00
 
#define AC_ENABLE   0x01
 
#define AC_CONFIG   0xC90 /* The configuration port. */
 
#define AC_IO_EXTENT   0x20
 
#define config2irq(configval)   config2irqmap[((configval) >> 3) & 7]
 
#define config2mem(configval)   addrmap[(configval) & 7]
 
#define config2name(configval)   port_name[((configval) >> 6) & 3]
 
#define AC_START_PG   0x00 /* First page of 8390 TX buffer */
 
#define AC_STOP_PG   0x80 /* Last page +1 of the 8390 RX ring */
 

Functions

struct net_device *__init ac3200_probe (int unit)
 

Macro Definition Documentation

#define AC_ADDR0   0x00 /* Prefix station address values. */

Definition at line 47 of file ac3200.c.

#define AC_ADDR1   0x40

Definition at line 48 of file ac3200.c.

#define AC_ADDR2   0x90

Definition at line 49 of file ac3200.c.

#define AC_CONFIG   0xC90 /* The configuration port. */

Definition at line 55 of file ac3200.c.

#define AC_EISA_ID   0x0110d305

Definition at line 51 of file ac3200.c.

#define AC_ENABLE   0x01

Definition at line 54 of file ac3200.c.

#define AC_ID_PORT   0xC80

Definition at line 50 of file ac3200.c.

#define AC_IO_EXTENT   0x20

Definition at line 57 of file ac3200.c.

#define AC_NIC_BASE   0x00

Definition at line 45 of file ac3200.c.

#define AC_RESET   0x00

Definition at line 53 of file ac3200.c.

#define AC_RESET_PORT   0xC84

Definition at line 52 of file ac3200.c.

#define AC_SA_PROM   0x16 /* The station address PROM. */

Definition at line 46 of file ac3200.c.

#define AC_START_PG   0x00 /* First page of 8390 TX buffer */

Definition at line 77 of file ac3200.c.

#define AC_STOP_PG   0x80 /* Last page +1 of the 8390 RX ring */

Definition at line 78 of file ac3200.c.

#define config2irq (   configval)    config2irqmap[((configval) >> 3) & 7]

Definition at line 72 of file ac3200.c.

#define config2mem (   configval)    addrmap[(configval) & 7]

Definition at line 73 of file ac3200.c.

#define config2name (   configval)    port_name[((configval) >> 6) & 3]

Definition at line 74 of file ac3200.c.

#define DRV_NAME   "ac3200"

Definition at line 42 of file ac3200.c.

Function Documentation

struct net_device* __init ac3200_probe ( int  unit)
read

Definition at line 125 of file ac3200.c.