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

Go to the source code of this file.

Data Structures

struct  ariadne_private
 
struct  lancedata
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define swapw(x)   (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00))
 
#define lowb(x)   (x & 0xff)
 
#define swhighw(x)   ((((x) >> 8) & 0xff00) | (((x) >> 24) & 0x00ff))
 
#define swloww(x)   ((((x) << 8) & 0xff00) | (((x) >> 8) & 0x00ff))
 
#define TX_RING_SIZE   5
 
#define RX_RING_SIZE   16
 
#define PKT_BUF_SIZE   1520
 

Functions

 MODULE_DEVICE_TABLE (zorro, ariadne_zorro_tbl)
 
 module_init (ariadne_init_module)
 
 module_exit (ariadne_cleanup_module)
 
 MODULE_LICENSE ("GPL")
 

Variables

int ariadne_debug = 1
 

Macro Definition Documentation

#define lowb (   x)    (x & 0xff)

Definition at line 71 of file ariadne.c.

#define PKT_BUF_SIZE   1520

Definition at line 82 of file ariadne.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 37 of file ariadne.c.

#define RX_RING_SIZE   16

Definition at line 80 of file ariadne.c.

#define swapw (   x)    (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00))

Definition at line 69 of file ariadne.c.

#define swhighw (   x)    ((((x) >> 8) & 0xff00) | (((x) >> 24) & 0x00ff))

Definition at line 73 of file ariadne.c.

#define swloww (   x)    ((((x) << 8) & 0xff00) | (((x) >> 8) & 0x00ff))

Definition at line 75 of file ariadne.c.

#define TX_RING_SIZE   5

Definition at line 79 of file ariadne.c.

Function Documentation

MODULE_DEVICE_TABLE ( zorro  ,
ariadne_zorro_tbl   
)
module_exit ( ariadne_cleanup_module  )
module_init ( ariadne_init_module  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int ariadne_debug = 1

Definition at line 63 of file ariadne.c.