Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
a2065.c File Reference
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/skbuff.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/crc32.h>
#include <linux/zorro.h>
#include <linux/bitops.h>
#include <asm/irq.h>
#include <asm/amigaints.h>
#include <asm/amigahw.h>
#include "a2065.h"

Go to the source code of this file.

Data Structures

struct  lance_init_block
 
struct  lance_private
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define LANCE_LOG_TX_BUFFERS   (2)
 
#define LANCE_LOG_RX_BUFFERS   (4)
 
#define TX_RING_SIZE   (1 << LANCE_LOG_TX_BUFFERS)
 
#define RX_RING_SIZE   (1 << LANCE_LOG_RX_BUFFERS)
 
#define TX_RING_MOD_MASK   (TX_RING_SIZE - 1)
 
#define RX_RING_MOD_MASK   (RX_RING_SIZE - 1)
 
#define PKT_BUF_SIZE   (1544)
 
#define RX_BUFF_SIZE   PKT_BUF_SIZE
 
#define TX_BUFF_SIZE   PKT_BUF_SIZE
 
#define LANCE_ADDR(x)   ((int)(x) & ~0xff000000)
 

Functions

 MODULE_DEVICE_TABLE (zorro, a2065_zorro_tbl)
 
 module_init (a2065_init_module)
 
 module_exit (a2065_cleanup_module)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define LANCE_ADDR (   x)    ((int)(x) & ~0xff000000)

Definition at line 127 of file a2065.c.

#define LANCE_LOG_RX_BUFFERS   (4)

Definition at line 69 of file a2065.c.

#define LANCE_LOG_TX_BUFFERS   (2)

Definition at line 68 of file a2065.c.

#define PKT_BUF_SIZE   (1544)

Definition at line 77 of file a2065.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 40 of file a2065.c.

#define RX_BUFF_SIZE   PKT_BUF_SIZE

Definition at line 78 of file a2065.c.

#define RX_RING_MOD_MASK   (RX_RING_SIZE - 1)

Definition at line 75 of file a2065.c.

#define RX_RING_SIZE   (1 << LANCE_LOG_RX_BUFFERS)

Definition at line 72 of file a2065.c.

#define TX_BUFF_SIZE   PKT_BUF_SIZE

Definition at line 79 of file a2065.c.

#define TX_RING_MOD_MASK   (TX_RING_SIZE - 1)

Definition at line 74 of file a2065.c.

#define TX_RING_SIZE   (1 << LANCE_LOG_TX_BUFFERS)

Definition at line 71 of file a2065.c.

Function Documentation

MODULE_DEVICE_TABLE ( zorro  ,
a2065_zorro_tbl   
)
module_exit ( a2065_cleanup_module  )
module_init ( a2065_init_module  )
MODULE_LICENSE ( "GPL"  )