Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
7990.c File Reference
#include <linux/crc32.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/init.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/route.h>
#include <linux/string.h>
#include <linux/skbuff.h>
#include <asm/irq.h>
#include <linux/socket.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/pgtable.h>
#include "7990.h"

Go to the source code of this file.

Macros

#define WRITERAP(lp, x)   out_be16(lp->base + LANCE_RAP, (x))
 
#define WRITERDP(lp, x)   out_be16(lp->base + LANCE_RDP, (x))
 
#define READRDP(lp)   in_be16(lp->base + LANCE_RDP)
 
#define PRINT_RINGS()
 
#define DEBUG_IRING   0
 

Functions

int lance_open (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (lance_open)
 
int lance_close (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (lance_close)
 
void lance_tx_timeout (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (lance_tx_timeout)
 
int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (lance_start_xmit)
 
void lance_set_multicast (struct net_device *dev)
 
 EXPORT_SYMBOL_GPL (lance_set_multicast)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DEBUG_IRING   0

Definition at line 135 of file 7990.c.

#define PRINT_RINGS ( )

Definition at line 112 of file 7990.c.

#define READRDP (   lp)    in_be16(lp->base + LANCE_RDP)

Definition at line 47 of file 7990.c.

#define WRITERAP (   lp,
  x 
)    out_be16(lp->base + LANCE_RAP, (x))

Definition at line 45 of file 7990.c.

#define WRITERDP (   lp,
  x 
)    out_be16(lp->base + LANCE_RDP, (x))

Definition at line 46 of file 7990.c.

Function Documentation

EXPORT_SYMBOL_GPL ( lance_open  )
EXPORT_SYMBOL_GPL ( lance_close  )
EXPORT_SYMBOL_GPL ( lance_tx_timeout  )
EXPORT_SYMBOL_GPL ( lance_start_xmit  )
EXPORT_SYMBOL_GPL ( lance_set_multicast  )
static int lance_close ( struct net_device dev)

Definition at line 508 of file 7990.c.

static int lance_open ( struct net_device dev)

Definition at line 491 of file 7990.c.

void lance_set_multicast ( struct net_device dev)

Definition at line 617 of file 7990.c.

static int lance_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 533 of file 7990.c.

static void lance_tx_timeout ( struct net_device dev)

Definition at line 524 of file 7990.c.

MODULE_LICENSE ( "GPL"  )