Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hostap_cs.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/slab.h>
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/cisreg.h>
#include <pcmcia/ds.h>
#include <asm/io.h>
#include "hostap_wlan.h"
#include "hostap_hw.c"

Go to the source code of this file.

Data Structures

struct  hostap_cs_priv
 

Macros

#define PRISM2_PCCARD
 
#define HFA384X_OUTB(v, a)   outb((v), dev->base_addr + (a))
 
#define HFA384X_INB(a)   inb(dev->base_addr + (a))
 
#define HFA384X_OUTW(v, a)   outw((v), dev->base_addr + (a))
 
#define HFA384X_INW(a)   inw(dev->base_addr + (a))
 
#define HFA384X_INSW(a, buf, wc)   insw(dev->base_addr + (a), buf, wc)
 
#define HFA384X_OUTSW(a, buf, wc)   outsw(dev->base_addr + (a), buf, wc)
 
#define SANDISK_WLAN_ACTIVATION_OFF   0x40
 
#define SANDISK_HCR_OFF   0x42
 

Functions

 MODULE_AUTHOR ("Jouni Malinen")
 
 MODULE_DESCRIPTION ("Support for Intersil Prism2-based 802.11 wireless LAN ""cards (PC Card).")
 
 MODULE_SUPPORTED_DEVICE ("Intersil Prism2-based WLAN cards (PC Card)")
 
 MODULE_LICENSE ("GPL")
 
 module_param (ignore_cis_vcc, int, 0444)
 
 MODULE_PARM_DESC (ignore_cis_vcc,"Ignore broken CIS VCC entry")
 
 MODULE_DEVICE_TABLE (pcmcia, hostap_cs_ids)
 
 module_init (init_prism2_pccard)
 
 module_exit (exit_prism2_pccard)
 

Macro Definition Documentation

#define HFA384X_INB (   a)    inb(dev->base_addr + (a))

Definition at line 147 of file hostap_cs.c.

#define HFA384X_INSW (   a,
  buf,
  wc 
)    insw(dev->base_addr + (a), buf, wc)

Definition at line 150 of file hostap_cs.c.

#define HFA384X_INW (   a)    inw(dev->base_addr + (a))

Definition at line 149 of file hostap_cs.c.

#define HFA384X_OUTB (   v,
  a 
)    outb((v), dev->base_addr + (a))

Definition at line 146 of file hostap_cs.c.

#define HFA384X_OUTSW (   a,
  buf,
  wc 
)    outsw(dev->base_addr + (a), buf, wc)

Definition at line 151 of file hostap_cs.c.

#define HFA384X_OUTW (   v,
  a 
)    outw((v), dev->base_addr + (a))

Definition at line 148 of file hostap_cs.c.

#define PRISM2_PCCARD

Definition at line 1 of file hostap_cs.c.

#define SANDISK_HCR_OFF   0x42

Definition at line 220 of file hostap_cs.c.

#define SANDISK_WLAN_ACTIVATION_OFF   0x40

Definition at line 219 of file hostap_cs.c.

Function Documentation

MODULE_AUTHOR ( "Jouni Malinen"  )
MODULE_DESCRIPTION ( "Support for Intersil Prism2-based 802.11 wireless LAN ""cards (PC Card)."  )
MODULE_DEVICE_TABLE ( pcmcia  ,
hostap_cs_ids   
)
module_exit ( exit_prism2_pccard  )
module_init ( init_prism2_pccard  )
MODULE_LICENSE ( "GPL"  )
module_param ( ignore_cis_vcc  ,
int  ,
0444   
)
MODULE_PARM_DESC ( ignore_cis_vcc  ,
"Ignore broken CIS VCC entry  
)
MODULE_SUPPORTED_DEVICE ( "Intersil Prism2-based WLAN cards (PC Card)"  )