Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
wanxl.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/netdevice.h>
#include <linux/hdlc.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <asm/io.h>
#include "wanxl.h"
#include "wanxlfw.inc"

Go to the source code of this file.

Data Structures

struct  port_t
 
struct  card_status_t
 
struct  card_t
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define PLX_CTL_RESET   0x40000000 /* adapter reset */
 
#define MBX1_CMD_ABORTJ   0x85000000 /* Abort and Jump */
 
#define MBX1_CMD_BSWAP   0x8C000000 /* big-endian Byte Swap Mode */
 
#define MBX2_MEMSZ_MASK   0xFFFF0000 /* PUTS Memory Size Register mask */
 

Typedefs

typedef struct card_t card_t
 

Functions

 MODULE_AUTHOR ("Krzysztof Halasa <khc@pm.waw.pl>")
 
 MODULE_DESCRIPTION ("SBE Inc. wanXL serial port driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (pci, wanxl_pci_tbl)
 
 module_init (wanxl_init_module)
 
 module_exit (wanxl_cleanup_module)
 

Macro Definition Documentation

#define MBX1_CMD_ABORTJ   0x85000000 /* Abort and Jump */

Definition at line 46 of file wanxl.c.

#define MBX1_CMD_BSWAP   0x8C000000 /* big-endian Byte Swap Mode */

Definition at line 50 of file wanxl.c.

#define MBX2_MEMSZ_MASK   0xFFFF0000 /* PUTS Memory Size Register mask */

Definition at line 54 of file wanxl.c.

#define PLX_CTL_RESET   0x40000000 /* adapter reset */

Definition at line 40 of file wanxl.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 16 of file wanxl.c.

Typedef Documentation

typedef struct card_t card_t

Function Documentation

MODULE_AUTHOR ( "Krzysztof Halasa <khc@pm.waw.pl>"  )
MODULE_DESCRIPTION ( "SBE Inc. wanXL serial port driver )
MODULE_DEVICE_TABLE ( pci  ,
wanxl_pci_tbl   
)
module_exit ( wanxl_cleanup_module  )
module_init ( wanxl_init_module  )
MODULE_LICENSE ( "GPL v2 )