Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
smc-ultra.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/isapnp.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <asm/io.h>
#include <asm/irq.h>
#include "8390.h"

Go to the source code of this file.

Macros

#define DRV_NAME   "smc-ultra"
 
#define START_PG   0x00 /* First page of TX buffer */
 
#define ULTRA_CMDREG   0 /* Offset to ASIC command register. */
 
#define ULTRA_RESET   0x80 /* Board reset, in ULTRA_CMDREG. */
 
#define ULTRA_MEMENB   0x40 /* Enable the shared memory. */
 
#define IOPD   0x02 /* I/O Pipe Data (16 bits), PIO operation. */
 
#define IOPA   0x07 /* I/O Pipe Address for PIO operation. */
 
#define ULTRA_NIC_OFFSET   16 /* NIC register offset from the base_addr. */
 
#define ULTRA_IO_EXTENT   32
 
#define EN0_ERWCNT   0x08 /* Early receive warning count. */
 

Functions

struct net_device *__init ultra_probe (int unit)
 

Macro Definition Documentation

#define DRV_NAME   "smc-ultra"

Definition at line 75 of file smc-ultra.c.

#define EN0_ERWCNT   0x08 /* Early receive warning count. */

Definition at line 124 of file smc-ultra.c.

#define IOPA   0x07 /* I/O Pipe Address for PIO operation. */

Definition at line 121 of file smc-ultra.c.

#define IOPD   0x02 /* I/O Pipe Data (16 bits), PIO operation. */

Definition at line 120 of file smc-ultra.c.

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

Definition at line 115 of file smc-ultra.c.

#define ULTRA_CMDREG   0 /* Offset to ASIC command register. */

Definition at line 117 of file smc-ultra.c.

#define ULTRA_IO_EXTENT   32

Definition at line 123 of file smc-ultra.c.

#define ULTRA_MEMENB   0x40 /* Enable the shared memory. */

Definition at line 119 of file smc-ultra.c.

#define ULTRA_NIC_OFFSET   16 /* NIC register offset from the base_addr. */

Definition at line 122 of file smc-ultra.c.

#define ULTRA_RESET   0x80 /* Board reset, in ULTRA_CMDREG. */

Definition at line 118 of file smc-ultra.c.

Function Documentation

struct net_device* __init ultra_probe ( int  unit)
read

Definition at line 166 of file smc-ultra.c.