Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
orinoco_plx.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <pcmcia/cisreg.h>
#include "orinoco.h"
#include "orinoco_pci.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "orinoco_plx"
 
#define PFX   DRIVER_NAME ": "
 
#define COR_OFFSET   (0x3e0) /* COR attribute offset of Prism2 PC card */
 
#define COR_VALUE   (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */
 
#define COR_RESET   (0x80) /* reset bit in the COR register */
 
#define PLX_RESET_TIME   (500) /* milliseconds */
 
#define PLX_INTCSR   0x4c /* Interrupt Control & Status Register */
 
#define PLX_INTCSR_INTEN   (1 << 6) /* Interrupt Enable bit */
 

Functions

 MODULE_DEVICE_TABLE (pci, orinoco_plx_id_table)
 
 MODULE_AUTHOR ("Daniel Barlow <[email protected]>")
 
 MODULE_DESCRIPTION ("Driver for wireless LAN cards using the PLX9052 PCI bridge")
 
 MODULE_LICENSE ("Dual MPL/GPL")
 
 module_init (orinoco_plx_init)
 
 module_exit (orinoco_plx_exit)
 

Macro Definition Documentation

#define COR_OFFSET   (0x3e0) /* COR attribute offset of Prism2 PC card */

Definition at line 99 of file orinoco_plx.c.

#define COR_RESET   (0x80) /* reset bit in the COR register */

Definition at line 101 of file orinoco_plx.c.

#define COR_VALUE   (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */

Definition at line 100 of file orinoco_plx.c.

#define DRIVER_NAME   "orinoco_plx"

Definition at line 86 of file orinoco_plx.c.

#define PFX   DRIVER_NAME ": "

Definition at line 87 of file orinoco_plx.c.

#define PLX_INTCSR   0x4c /* Interrupt Control & Status Register */

Definition at line 104 of file orinoco_plx.c.

#define PLX_INTCSR_INTEN   (1 << 6) /* Interrupt Enable bit */

Definition at line 105 of file orinoco_plx.c.

#define PLX_RESET_TIME   (500) /* milliseconds */

Definition at line 102 of file orinoco_plx.c.

Function Documentation

MODULE_AUTHOR ( "Daniel Barlow <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for wireless LAN cards using the PLX9052 PCI bridge )
MODULE_DEVICE_TABLE ( pci  ,
orinoco_plx_id_table   
)
module_exit ( orinoco_plx_exit  )
module_init ( orinoco_plx_init  )
MODULE_LICENSE ( "Dual MPL/GPL"  )