Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xircom_cb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <asm/uaccess.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  xircom_private
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define xw32(reg, val)   iowrite32(val, ioaddr + (reg))
 
#define xr32(reg)   ioread32(ioaddr + (reg))
 
#define xr8(reg)   ioread8(ioaddr + (reg))
 
#define CSR0   0x00
 
#define CSR1   0x08
 
#define CSR2   0x10
 
#define CSR3   0x18
 
#define CSR4   0x20
 
#define CSR5   0x28
 
#define CSR6   0x30
 
#define CSR7   0x38
 
#define CSR8   0x40
 
#define CSR9   0x48
 
#define CSR10   0x50
 
#define CSR11   0x58
 
#define CSR12   0x60
 
#define CSR13   0x68
 
#define CSR14   0x70
 
#define CSR15   0x78
 
#define CSR16   0x80
 
#define PCI_POWERMGMT   0x40
 
#define NUMDESCRIPTORS   4
 

Functions

 MODULE_DESCRIPTION ("Xircom Cardbus ethernet driver")
 
 MODULE_AUTHOR ("Arjan van de Ven <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (pci, xircom_pci_table)
 

Macro Definition Documentation

#define CSR0   0x00

Definition at line 49 of file xircom_cb.c.

#define CSR1   0x08

Definition at line 50 of file xircom_cb.c.

#define CSR10   0x50

Definition at line 59 of file xircom_cb.c.

#define CSR11   0x58

Definition at line 60 of file xircom_cb.c.

#define CSR12   0x60

Definition at line 61 of file xircom_cb.c.

#define CSR13   0x68

Definition at line 62 of file xircom_cb.c.

#define CSR14   0x70

Definition at line 63 of file xircom_cb.c.

#define CSR15   0x78

Definition at line 64 of file xircom_cb.c.

#define CSR16   0x80

Definition at line 65 of file xircom_cb.c.

#define CSR2   0x10

Definition at line 51 of file xircom_cb.c.

#define CSR3   0x18

Definition at line 52 of file xircom_cb.c.

#define CSR4   0x20

Definition at line 53 of file xircom_cb.c.

#define CSR5   0x28

Definition at line 54 of file xircom_cb.c.

#define CSR6   0x30

Definition at line 55 of file xircom_cb.c.

#define CSR7   0x38

Definition at line 56 of file xircom_cb.c.

#define CSR8   0x40

Definition at line 57 of file xircom_cb.c.

#define CSR9   0x48

Definition at line 58 of file xircom_cb.c.

#define NUMDESCRIPTORS   4

Definition at line 72 of file xircom_cb.c.

#define PCI_POWERMGMT   0x40

Definition at line 68 of file xircom_cb.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file xircom_cb.c.

#define xr32 (   reg)    ioread32(ioaddr + (reg))

Definition at line 45 of file xircom_cb.c.

#define xr8 (   reg)    ioread8(ioaddr + (reg))

Definition at line 46 of file xircom_cb.c.

#define xw32 (   reg,
  val 
)    iowrite32(val, ioaddr + (reg))

Definition at line 44 of file xircom_cb.c.

Function Documentation

MODULE_AUTHOR ( "Arjan van de Ven <[email protected]>"  )
MODULE_DESCRIPTION ( "Xircom Cardbus ethernet driver )
MODULE_DEVICE_TABLE ( pci  ,
xircom_pci_table   
)
MODULE_LICENSE ( "GPL"  )