Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nicstar.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <linux/atmdev.h>
#include <linux/atm.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/idr.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/atomic.h>
#include "nicstar.h"
#include "nicstarmac.c"

Go to the source code of this file.

Macros

#define TXPRINTK(args...)
 
#define RXPRINTK(args...)
 
#define PRINTK(args...)
 
#define XPRINTK(args...)
 
#define CMD_BUSY(card)   (readl((card)->membase + STAT) & NS_STAT_CMDBZ)
 
#define NS_DELAY   mdelay(1)
 
#define PTR_DIFF(a, b)   ((u32)((unsigned long)(a) - (unsigned long)(b)))
 
#define ATM_SKB(s)   (&(s)->atm)
 
#define scq_virt_to_bus(scq, p)   (scq->dma + ((unsigned long)(p) - (unsigned long)(scq)->org))
 

Functions

 module_param_array (mac, charp, NULL, 0)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, nicstar_pci_tbl)
 
 module_init (nicstar_init)
 
 module_exit (nicstar_cleanup)
 

Macro Definition Documentation

#define ATM_SKB (   s)    (&(s)->atm)

Definition at line 113 of file nicstar.c.

#define CMD_BUSY (   card)    (readl((card)->membase + STAT) & NS_STAT_CMDBZ)

Definition at line 106 of file nicstar.c.

#define NS_DELAY   mdelay(1)

Definition at line 108 of file nicstar.c.

#define PRINTK (   args...)

Definition at line 95 of file nicstar.c.

#define PTR_DIFF (   a,
  b 
)    ((u32)((unsigned long)(a) - (unsigned long)(b)))

Definition at line 110 of file nicstar.c.

#define RXPRINTK (   args...)

Definition at line 89 of file nicstar.c.

#define scq_virt_to_bus (   scq,
  p 
)    (scq->dma + ((unsigned long)(p) - (unsigned long)(scq)->org))

Definition at line 116 of file nicstar.c.

#define TXPRINTK (   args...)

Definition at line 83 of file nicstar.c.

#define XPRINTK (   args...)

Definition at line 101 of file nicstar.c.

Function Documentation

MODULE_DEVICE_TABLE ( pci  ,
nicstar_pci_tbl   
)
module_exit ( nicstar_cleanup  )
module_init ( nicstar_init  )
MODULE_LICENSE ( "GPL"  )
module_param_array ( mac  ,
charp  ,
NULL  ,
 
)